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

Наследование: IDebugThread2, IDebugThread100
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
__stackFrames System.Collections.ArrayList
_alreadyEvaluated int
_engine AD7Engine
_filename string
_id string
_line uint
_priority string
_state string
_targetID string
_threadDisplayName string
previousFrameInfoArray FRAMEINFO[]

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

Метод Описание
AD7Thread ( AD7Engine aEngine, string id, string targetID, string state, string priority, string name, string fullname, string line ) : System

Constructor.

getFunctionName ( ) : string

Gets the function name.

setCurrentLocation ( string filename, uint line ) : void

Called by EventDipatcher to set the current location during break mode.

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

Метод Описание
GetLongPathName ( [ path, [ longPath, int longPathLength ) : int
IDebugThread100 ( ) : int

Returns whether this thread can be used to do function/property evaluation. Not implemented. (http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.debugger.interop.idebugthread100.candofunceval.aspx)

IDebugThread100 ( string &name ) : int

Gets the name of a thread. (http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.debugger.interop.idebugthread100.getthreaddisplayname.aspx)

IDebugThread100 ( uint &flags ) : int

Get flags. Not implemented. (http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.debugger.interop.idebugthread100.getflags.aspx)

IDebugThread100 ( uint dwFields, THREADPROPERTIES100 ptp ) : int

Gets the properties that describe this thread. (http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.debugger.interop.idebugthread100.getthreadproperties100.aspx)

IDebugThread2 ( IDebugProgram2 &ppProgram ) : int

Gets the program in which a thread is running. (http://msdn.microsoft.com/en-ca/library/bb147002.aspx)

IDebugThread2 ( IDebugStackFrame2 pStackFrame, IDebugCodeContext2 pCodeContext ) : int

Determines whether the next statement can be set to the given stack frame and code context. Not implemented. (http://msdn.microsoft.com/en-ca/library/bb146582.aspx)

IDebugThread2 ( IDebugStackFrame2 pStackFrame, IDebugLogicalThread2 &ppLogicalThread ) : int

Gets the logical thread associated with this physical thread. Not implemented. (http://msdn.microsoft.com/en-ca/library/bb161676.aspx)

IDebugThread2 ( enum_FRAMEINFO_FLAGS dwFieldSpec, uint nRadix, IEnumDebugFrameInfo2 &ppEnum ) : int

Retrieves a list of the stack frames for this thread. (http://msdn.microsoft.com/en-ca/library/bb145138.aspx)

IDebugThread2 ( enum_THREADPROPERTY_FIELDS dwFields, THREADPROPERTIES ptp ) : int

Gets the properties that describe this thread. (http://msdn.microsoft.com/en-ca/library/bb145602.aspx)

IDebugThread2 ( string &pbstrName ) : int

Gets the name of a thread. (http://msdn.microsoft.com/en-ca/library/bb162273.aspx)

IDebugThread2 ( uint &pdwThreadId ) : int

Gets the system thread identifier. (http://msdn.microsoft.com/en-ca/library/bb161964.aspx)

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

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

Constructor.
public AD7Thread ( AD7Engine aEngine, string id, string targetID, string state, string priority, string name, string fullname, string line ) : System
aEngine AD7Engine The AD7Engine object that represents the DE.
id string Thread's ID.
targetID string Process' ID + Thread's ID.
state string Thread's state.
priority string Thread's priority.
name string Thread's name.
fullname string Full short path file name.
line string Line number.
Результат System

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

Gets the function name.
public getFunctionName ( ) : string
Результат string

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

Called by EventDipatcher to set the current location during break mode.
public setCurrentLocation ( string filename, uint line ) : void
filename string Full short path file name.
line uint Line number.
Результат void

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

__stackFrames публичное свойство

Contains the stack frames for this thread
public ArrayList,System.Collections __stackFrames
Результат System.Collections.ArrayList

_alreadyEvaluated публичное свойство

Contains flags that specifies the information that were already verified about this thread's stack frame object. Used to avoid reevaluating stack frames that were already evaluated.
public int _alreadyEvaluated
Результат int

_engine публичное свойство

The AD7Engine object that represents the DE.
public AD7Engine,VSNDK.DebugEngine _engine
Результат AD7Engine

_filename публичное свойство

Full long path file name.
public string _filename
Результат string

_id публичное свойство

Thread's ID.
public string _id
Результат string

_line публичное свойство

Line number.
public uint _line
Результат uint

_priority публичное свойство

Thread's priority.
public string _priority
Результат string

_state публичное свойство

Thread's state.
public string _state
Результат string

_targetID публичное свойство

Process' ID + Thread's ID.
public string _targetID
Результат string

_threadDisplayName публичное свойство

Thread's name.
public string _threadDisplayName
Результат string

previousFrameInfoArray публичное свойство

A FRAMEINFO structure that is filled in with the description of the previous stack frame that works as a cache, to avoid reevaluate the stack frame again.
public FRAMEINFO[] previousFrameInfoArray
Результат FRAMEINFO[]