Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Debug Engine: What if I don't raise IDebugEntryPointEvent2 at all?

$
0
0

Hi,

I am working on a custom debug engine. The debuggee specifics is that it might not have a single entry point at all (think of a Web page that just have a couple of onClick handlers but does not subscribe to the Page_Load event)

So, I am a but confused about implementing the IDebugEntryPointEvent2 event. As far as I understand the docs, if my debug engine implements the IDebugEngineLaunch2 interface and the launch sequence was "Debug | Start" (as opposed to "Debug | Attach..."), then Session Debug Manager expects my debug engine to deliver the IDebugEntryPointEvent2 as the last one in the sequence of start-up events (as thisMSDN page reads).

Will there be any negative consequences (SDM left in inconsistent state, further debugging is not possible etc.) if I don't deliver this event and return S_OK from IDebugEngine2::Attach?

From the user perspective, it's completely OK if a program is started under the debugger and the debugger stays in Run mode until the program hits a breakpoint, throws an exception or is requested to pause at the next statement.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>