I am trying to write an extension function that will run to the next call and then print out information about the next instruction.
I am using IDebugControl::Execute to run “tc”. As noted in the documentation, this call returns before the tracing has actually occurred. Sleeping or calling DispatchCallbacks does not see the “tc” trace occur before my extension returns. How can I allow the trace to happen without returning from the call?
If I add my own DebugEventCallback then I can get notified of the triggered DebuggeeState and EngineState changes, but can’t reach back into the engine from those callbacks.
On 1/22/14, xxxxx@gmail.com wrote: > I am trying to write an extension function that will run to the next call > and then print out information about the next instruction. > > I am using IDebugControl::Execute to run “tc”. As noted in the > documentation, this call returns before the tracing has actually occurred. > Sleeping or calling DispatchCallbacks does not see the “tc” trace occur > before my extension returns. How can I allow the trace to happen without > returning from the call? > > If I add my own DebugEventCallback then I can get notified of the triggered > DebuggeeState and EngineState changes, but can’t reach back into the engine > from those callbacks. > > > > — > WINDBG is sponsored by OSR > > OSR is hiring!! Info at http://www.osr.com/careers > > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars > > To unsubscribe, visit the List Server section of OSR Online at > http://www.osronline.com/page.cfm?name=ListServer ></stdio.h></dbgeng.h>