Method | Description | |
---|---|---|
EngineCallback ( |
Constructor.
|
|
OnAsyncBreakComplete ( |
This will get called when the engine receives the breakpoint event that is created when the user hits the pause button in VS.
|
|
OnBreakpoint ( |
Send an event to SDM with the breakpoint that was hit.
|
|
OnBreakpointBound ( object objBoundBreakpoint, uint address ) : void |
Engines notify the debugger that a breakpoint has bound through the breakpoint bound event.
|
|
OnError ( int hrErr ) : void |
IDebugErrorEvent2 is used to report error messages to the user when something goes wrong in the debug engine. The VSNDK debug engine doesn't take advantage of this. Not implemented.
|
|
OnException ( ) : void |
Exception events are sent when an exception occurs in the debugged that the debugger was not expecting. The VSNDK debug engine does not support these. Not implemented.
|
|
OnModuleLoad ( |
The VSNDK debug engine does not support binding breakpoints as modules load since the primary exe is the only module symbols are loaded for. A production debugger will need to bind breakpoints when a new module is loaded.
|
|
OnOutputString ( string outputString ) : void |
Send to the session debug manager (SDM) an event to output a string. Not used.
|
|
OnStepComplete ( ) : void |
Step complete is sent when a step has finished. Not implemented.
|
|
OnSymbolSearch ( |
Engines notify the debugger about the results of a symbol search by sending an instance of IDebugSymbolSearchEvent2. Not used.
|
|
OnThreadStart ( |
Send an event to notify the SDM that this thread was created.
|
|
Send ( IDebugEvent2 eventObject, string iidEvent, IDebugProgram2 program, IDebugThread2 thread ) : void |
Send events to the debugger.
|
|
Send ( IDebugEvent2 eventObject, string iidEvent, IDebugThread2 thread ) : void |
Call the method that will send the event to the debugger with all the arguments.
|
public EngineCallback ( |
||
engine | The AD7Engine object that represents the DE. | |
ad7Callback | IDebugEventCallback2 | The IDebugEventCallback2 object that receives debugger events. |
return | System |
public OnAsyncBreakComplete ( |
||
thread | The thread running in a program. | |
return | void |
public OnBreakpoint ( |
||
thread | The thread running in a program. | |
clients | IList |
List of bound breakpoints. At this moment, this list has only one element. |
return | void |
public OnBreakpointBound ( object objBoundBreakpoint, uint address ) : void | ||
objBoundBreakpoint | object | The bounded breakpoint. |
address | uint | 0. |
return | void |
public OnModuleLoad ( |
||
debuggedModule | A module loaded in the debugged process. | |
return | void |
public OnOutputString ( string outputString ) : void | ||
outputString | string | The output string. |
return | void |
public OnSymbolSearch ( |
||
module | ||
status | string | |
dwStatusFlags | uint | |
return | void |
public OnThreadStart ( |
||
debuggedThread | The new thread running in a program. | |
return | void |
public Send ( IDebugEvent2 eventObject, string iidEvent, IDebugProgram2 program, IDebugThread2 thread ) : void | ||
eventObject | IDebugEvent2 | Event object to be sent to the debugger. |
iidEvent | string | ID of the event. |
program | IDebugProgram2 | A program that is running in a process. |
thread | IDebugThread2 | A thread running in a program. |
return | void |
public Send ( IDebugEvent2 eventObject, string iidEvent, IDebugThread2 thread ) : void | ||
eventObject | IDebugEvent2 | Event object to be sent to the debugger. |
iidEvent | string | ID of the event. |
thread | IDebugThread2 | A thread running in a program. |
return | void |