C# Класс VSNDK.DebugEngine.HandleProcessExecution

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
m_mre System.Threading.ManualResetEvent
m_needsResumeAfterInterrupt bool

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
onInterrupt ( int threadID ) : void

Update VS when the debugging process is interrupted in GDB.

Описание методов

HandleProcessExecution() публичный Метод

Constructor.
public HandleProcessExecution ( EventDispatcher ed ) : System
ed EventDispatcher This object manages debug events in the engine.
Результат System

handle() публичный Метод

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.
Результат void

onStepCompleted() публичный статический Метод

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.
Результат void

Описание свойств

m_mre публичное статическое свойство

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
Результат System.Threading.ManualResetEvent

m_needsResumeAfterInterrupt публичное статическое свойство

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
Результат bool