dbt

I want to capture the error which is being routed towards Dr Watson debug
window
and analyze it. ie, it should not reach the windows default debugger(Watson
window)
or any other debugger (WinDbg or SoftICE),before that i should be able to
capture it
and analyze it, is this possible.If possible how to start with ?
****************************************************************************
This communication contains information, which is confidential and may also
be privileged. It is for the exclusive use of the intended recipient(s). If
you are not the intended recipient(s), please note that any distribution,
printing, copying or use of this communication or the information in it is
strictly prohibited. If you have received this communication in error,
please notify the sender immediately and then destroy any copies of it.
****************************************************************************

Have your debugger app launch your process using CreateProcess with the
DEBUG_PROCESS flag, or have it call DebugActiveProcess. It can then use
WaitForDebugEvent to handle first-chance exceptions thrown by the
process being debugged.

  • Nick Ryan (MVP for DDK)

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prasad R
Sent: Friday, July 04, 2003 4:54 AM
To: Kernel Debugging Interest List
Subject: [windbg] dbt

I want to capture the error which is being routed towards Dr Watson
debug window
and analyze it. ie, it should not reach the windows default
debugger(Watson window)
or any other debugger (WinDbg or SoftICE),before that i should be able
to capture it
and analyze it, is this possible.If possible how to start with ?

You are currently subscribed to windbg as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
************************************************************************
**** This communication contains information, which is confidential and
may also be privileged. It is for the exclusive use of the intended
recipient(s). If you are not the intended recipient(s), please note that
any distribution, printing, copying or use of this communication or the
information in it is strictly prohibited. If you have received this
communication in error, please notify the sender immediately and then
destroy any copies of it.
************************************************************************
****