Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugger status

Status
Not open for further replies.

MKuiper

Programmer
Jan 29, 2002
364
NL
With the System.Diagnostics.Debugger.IsAttached property I can see if a debugger is attached to the current process.
What I need to know however, is if the debugged thread is running or not.
Is it possible being notified (in a different thread of course) when the debugger hits a breakpoint, and when execution continues?



Marcel
 
When the debugger "hits a breakpoint" in your application all threads of your application are frozen (actually an Int 0x03 is issued which is translated in a call to the current attached debugger or to the default debugger, if any).
Nobody moves unless Simon (the debugger) says so.

 
ok, clear. How about being notified in an other process?

Marcel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top