메소드 | 설명 | |
---|---|---|
EnumProperties ( enum_DEBUGPROP_INFO_FLAGS dwFields, uint nRadix, System.Guid &guidFilter, uint dwTimeout, uint &pcelt, IEnumDebugPropertyInfo2 &ppEnum ) : int |
Creates an enumerator for properties associated with the stack frame, such as local variables. Because this method allows all selected properties to be retrieved with a single call, it is faster than sequentially calling the IDebugStackFrame2::GetDebugProperty and IDebugProperty2::EnumChildren methods. |
|
GetCodeContext ( IDebugCodeContext2 &ppCodeCxt ) : int |
Gets the code context for this stack frame.
|
|
GetDebugProperty ( IDebugProperty2 &ppProperty ) : int |
Gets a description of the properties of a stack frame. Calling the IDebugProperty2::EnumChildren method with appropriate filters can retrieve the local variables, method parameters, registers, and "this" pointer associated with the stack frame. |
|
GetDocumentContext ( IDebugDocumentContext2 &ppCxt ) : int |
Gets the document context for this stack frame. This method is faster than calling the IDebugStackFrame2::GetCodeContext method and then calling the IDebugCodeContext2::GetDocumentContext method on the code context. However, it is not guaranteed that every debug engine (DE) will implement this method. |
|
GetExpressionContext ( IDebugExpressionContext2 &ppExprCxt ) : int |
Gets an evaluation context for expression evaluation within the current context of a stack frame and thread. Generally, an expression evaluation context can be thought of as a scope for performing expression evaluation. Call the IDebugExpressionContext2::ParseText method to parse an expression and then call the resulting IDebugExpression2::EvaluateSync or IDebugExpression2::EvaluateAsync methods to evaluate the parsed expression. |
|
GetInfo ( enum_FRAMEINFO_FLAGS dwFieldSpec, uint nRadix, FRAMEINFO pFrameInfo ) : int |
Gets a description of the stack frame.
|
|
GetLanguageInfo ( string &pbstrLanguage, System.Guid &pguidLanguage ) : int |
Gets the language associated with this stack frame.
|
|
GetName ( string &pbstrName ) : int |
Gets the name of the stack frame. The name of a stack frame is typically the name of the method being executed. |
|
GetPhysicalStackRange ( ulong &paddrMin, ulong &paddrMax ) : int |
Gets a machine-dependent representation of the range of physical addresses associated with a stack frame. The information returned by this method is used by the session debug manager (SDM) to sort stack frames. It is assumed that the call stack grows down, that is, that new stack frames are added at increasingly lower memory addresses. A run-time architecture must provide physical stack ranges that match this assumption. |
|
GetThread ( IDebugThread2 &ppThread ) : int |
Gets the thread associated with a stack frame.
|
public EnumProperties ( enum_DEBUGPROP_INFO_FLAGS dwFields, uint nRadix, System.Guid &guidFilter, uint dwTimeout, uint &pcelt, IEnumDebugPropertyInfo2 &ppEnum ) : int | ||
dwFields | enum_DEBUGPROP_INFO_FLAGS | A combination of flags from the DEBUGPROP_INFO_FLAGS enumeration that specifies which fields in the enumerated DEBUG_PROPERTY_INFO structures are to be filled in. |
nRadix | uint | The radix to be used in formatting any numerical information. |
guidFilter | System.Guid | A GUID of a filter used to select which DEBUG_PROPERTY_INFO structures are to be enumerated, such as guidFilterLocals. |
dwTimeout | uint | Maximum time, in milliseconds, to wait before returning from this method. Use INFINITE to wait indefinitely. |
pcelt | uint | Returns the number of properties enumerated. This is the same as calling the IEnumDebugPropertyInfo2::GetCount method. |
ppEnum | IEnumDebugPropertyInfo2 | Returns an IEnumDebugPropertyInfo2 object containing a list of the desired properties. |
리턴 | int |
public GetCodeContext ( IDebugCodeContext2 &ppCodeCxt ) : int | ||
ppCodeCxt | IDebugCodeContext2 | Returns an IDebugCodeContext2 object that represents the current instruction pointer in this stack frame. |
리턴 | int |
public GetDebugProperty ( IDebugProperty2 &ppProperty ) : int | ||
ppProperty | IDebugProperty2 | Returns an IDebugProperty2 object that describes the properties of this stack frame. |
리턴 | int |
public GetDocumentContext ( IDebugDocumentContext2 &ppCxt ) : int | ||
ppCxt | IDebugDocumentContext2 | Returns an IDebugDocumentContext2 object that represents the current position in a source document. |
리턴 | int |
public GetExpressionContext ( IDebugExpressionContext2 &ppExprCxt ) : int | ||
ppExprCxt | IDebugExpressionContext2 | Returns an IDebugExpressionContext2 object that represents a context for expression evaluation. |
리턴 | int |
public GetInfo ( enum_FRAMEINFO_FLAGS dwFieldSpec, uint nRadix, FRAMEINFO pFrameInfo ) : int | ||
dwFieldSpec | enum_FRAMEINFO_FLAGS | A combination of flags from the FRAMEINFO_FLAGS enumeration that specifies which fields of the pFrameInfo parameter are to be filled in. |
nRadix | uint | The radix to be used in formatting any numerical information. |
pFrameInfo | FRAMEINFO | A FRAMEINFO structure that is filled in with the description of the stack frame. |
리턴 | int |
public GetLanguageInfo ( string &pbstrLanguage, System.Guid &pguidLanguage ) : int | ||
pbstrLanguage | string | Returns the name of the language that implements the method associated with this stack frame. |
pguidLanguage | System.Guid | Returns the GUID of the language. |
리턴 | int |
public GetName ( string &pbstrName ) : int | ||
pbstrName | string | Returns the name of the stack frame. |
리턴 | int |
public GetPhysicalStackRange ( ulong &paddrMin, ulong &paddrMax ) : int | ||
paddrMin | ulong | Returns the lowest physical address associated with this stack frame. |
paddrMax | ulong | Returns the highest physical address associated with this stack frame. |
리턴 | int |
public GetThread ( IDebugThread2 &ppThread ) : int | ||
ppThread | IDebugThread2 | Returns an IDebugThread2 object that represents the thread. |
리턴 | int |