C# Class VSNDK.DebugEngine.HandleProcessExecution

Mostrar archivo Open project: blackberry/VSPlugin Class Usage Examples

Public Properties

Property Type Description
m_mre System.Threading.ManualResetEvent
m_needsResumeAfterInterrupt bool

Public Methods

Method Description
HandleProcessExecution ( EventDispatcher ed ) : System

Constructor.

handle ( string ev ) : void

This method manages events related to execution control by classifying each of them by sub-type (e.g. thread created, program interrupted, etc.).

onStepCompleted ( EventDispatcher eventDispatcher, string file, uint line ) : void

Update VS when a step action is completed in GDB.

Private Methods

Method Description
onInterrupt ( int threadID ) : void

Update VS when the debugging process is interrupted in GDB.

Method Details

HandleProcessExecution() public method

Constructor.
public HandleProcessExecution ( EventDispatcher ed ) : System
ed EventDispatcher This object manages debug events in the engine.
return System

handle() public method

This method manages events related to execution control by classifying each of them by sub-type (e.g. thread created, program interrupted, etc.).
public handle ( string ev ) : void
ev string String that contains the event description.
return void

onStepCompleted() public static method

Update VS when a step action is completed in GDB.
public static onStepCompleted ( EventDispatcher eventDispatcher, string file, uint line ) : void
eventDispatcher EventDispatcher This object manages debug events in the engine.
file string File name.
line uint Line number.
return void

Property Details

m_mre public_oe static_oe property

Used as a communication signal between the Event Dispatcher and the debug engine method responsible for stopping GDB execution (IDebugEngine2.CauseBreak()). So, VS is able to wait for GDB's interruption before entering in break mode.
public static ManualResetEvent,System.Threading m_mre
return System.Threading.ManualResetEvent

m_needsResumeAfterInterrupt public_oe static_oe property

Boolean variable that indicates if GDB has to resume execution after handling what caused it to enter in break mode.
public static bool m_needsResumeAfterInterrupt
return bool