C# Class VSNDK.DebugEngine.HandleProcessExecution

Afficher le fichier Open project: blackberry/VSPlugin Class Usage Examples

Méthodes publiques

Свойство Type Description
m_mre System.Threading.ManualResetEvent
m_needsResumeAfterInterrupt bool

Méthodes publiques

Méthode 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

Méthode Description
onInterrupt ( int threadID ) : void

Update VS when the debugging process is interrupted in GDB.

Method Details

HandleProcessExecution() public méthode

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

handle() public méthode

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.
Résultat void

onStepCompleted() public static méthode

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.
Résultat 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
Résultat 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
Résultat bool