| Jasleen 2005-09-05, 7:58 am |
| I am working on Debugger SDK ( Platform SDK) .If I simply run my code
including some calls to the other dlls , by doing F5 i.e by using VC++
Debugger my application runs fine.But I try to trap Debugger events in parent
app by spawning this app , i get some problems.The problem is that at a
specific statement it gives me EXCEPTION_ACCESS_VIOLATION repeatedly, if I
call
ContinueDebugEvent(DebugEv.dwProcessId, DebugEv.dwThreadId, DBG_CONTINUE );
and on using
ContinueDebugEvent(DebugEv.dwProcessId, DebugEv.dwThreadId,
DBG_EXCEPTION_NOT_HANDLED);
it stops the app by going into the catch block of my code after executing
this statement, though it doesnt give any exception if I run the code simply
by doing F5.
Why this exception is arising in DEBUGGER mode ???I am unable to start my
application in the normal fashion.
|