C# Class VSNDK.DebugEngine.AD7Thread

Inheritance: IDebugThread2, IDebugThread100
Mostrar archivo Open project: blackberry/VSPlugin Class Usage Examples

Public Properties

Property Type Description
__stackFrames System.Collections.ArrayList
_alreadyEvaluated int
_engine AD7Engine
_filename string
_id string
_line uint
_priority string
_state string
_targetID string
_threadDisplayName string
previousFrameInfoArray FRAMEINFO[]

Public Methods

Method Description
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.

Private Methods

Method Description
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)

Method Details

AD7Thread() public method

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.
return System

getFunctionName() public method

Gets the function name.
public getFunctionName ( ) : string
return string

setCurrentLocation() public method

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.
return void

Property Details

__stackFrames public_oe property

Contains the stack frames for this thread
public ArrayList,System.Collections __stackFrames
return System.Collections.ArrayList

_alreadyEvaluated public_oe property

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
return int

_engine public_oe property

The AD7Engine object that represents the DE.
public AD7Engine,VSNDK.DebugEngine _engine
return AD7Engine

_filename public_oe property

Full long path file name.
public string _filename
return string

_id public_oe property

Thread's ID.
public string _id
return string

_line public_oe property

Line number.
public uint _line
return uint

_priority public_oe property

Thread's priority.
public string _priority
return string

_state public_oe property

Thread's state.
public string _state
return string

_targetID public_oe property

Process' ID + Thread's ID.
public string _targetID
return string

_threadDisplayName public_oe property

Thread's name.
public string _threadDisplayName
return string

previousFrameInfoArray public_oe property

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
return FRAMEINFO[]