For Programmers: Free Programming Magazines  


Home > Archive > VC Utilities > September 2005 > Debugger API









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Debugger API
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.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com