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.