Метод | Описание | |
---|---|---|
AD7MemoryAddress ( |
Constructor.
|
|
Add ( ulong dwCount, IDebugMemoryContext2 &newAddress ) : int |
Adds a specified value to the current context's address to create a new context. (http://msdn.microsoft.com/en-ca/library/bb145861.aspx)
|
|
Compare ( enum_CONTEXT_COMPARE uContextCompare, IDebugMemoryContext2 compareToItems, uint compareToLength, uint &foundIndex ) : int |
Compares the memory context to each context in the given array in the manner indicated by compare flags, returning an index of the first context that matches. (http://msdn.microsoft.com/en-ca/library/bb161750.aspx)
|
|
GetDocumentContext ( IDebugDocumentContext2 &ppSrcCxt ) : int |
Gets the document context that corresponds to this code context. The document context represents a position in the source file that corresponds to the source code that generated this instruction. (http://msdn.microsoft.com/en-ca/library/bb161811.aspx)
|
|
GetInfo ( enum_CONTEXT_INFO_FIELDS dwFields, CONTEXT_INFO pinfo ) : int |
Gets information that describes this context. Not implemented. (http://msdn.microsoft.com/en-ca/library/bb145034.aspx)
|
|
GetLanguageInfo ( string &pbstrLanguage, System.Guid &pguidLanguage ) : int |
Gets the language information for this code context. (http://msdn.microsoft.com/en-ca/library/bb144925.aspx)
|
|
GetName ( string &pbstrName ) : int |
Gets the user-displayable name for this context. This is not supported by the VSNDK debug engine. (http://msdn.microsoft.com/en-ca/library/bb146997.aspx)
|
|
SetDocumentContext ( IDebugDocumentContext2 docContext ) : void |
Sets the document context.
|
|
Subtract ( ulong dwCount, IDebugMemoryContext2 &ppMemCxt ) : int |
Subtracts a specified value from the current context's address to create a new context. (http://msdn.microsoft.com/en-ca/library/bb146285.aspx)
|
Метод | Описание | |
---|---|---|
IDebugCodeContext100 ( IDebugProgram2 &pProgram ) : int |
Returns the program being debugged. In the case of this VSNDK debug debug engine, AD7Engine implements IDebugProgram2 which represents the program being debugged. (http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.debugger.interop.idebugcodecontext100.getprogram.aspx)
|
public AD7MemoryAddress ( |
||
engine | The AD7Engine object that represents the DE. | |
address | uint | The current context's address. |
Результат | System |
public Add ( ulong dwCount, IDebugMemoryContext2 &newAddress ) : int | ||
dwCount | ulong | The value to add to the current context. |
newAddress | IDebugMemoryContext2 | Returns a new IDebugMemoryContext2 object. |
Результат | int |
public Compare ( enum_CONTEXT_COMPARE uContextCompare, IDebugMemoryContext2 compareToItems, uint compareToLength, uint &foundIndex ) : int | ||
uContextCompare | enum_CONTEXT_COMPARE | A value from the CONTEXT_COMPARE enumeration that determines the type of comparison. |
compareToItems | IDebugMemoryContext2 | An array of references to the IDebugMemoryContext2 objects to compare against. |
compareToLength | uint | The number of contexts in the compareToItems array. |
foundIndex | uint | Returns the index of the first memory context that satisfies the comparison. |
Результат | int |
public GetDocumentContext ( IDebugDocumentContext2 &ppSrcCxt ) : int | ||
ppSrcCxt | IDebugDocumentContext2 | Returns the IDebugDocumentContext2 object that corresponds to the code context. |
Результат | int |
public GetInfo ( enum_CONTEXT_INFO_FIELDS dwFields, CONTEXT_INFO pinfo ) : int | ||
dwFields | enum_CONTEXT_INFO_FIELDS | A combination of flags from the CONTEXT_INFO_FIELDS enumeration that indicate which fields of the /// CONTEXT_INFO structure are to be fill in. |
pinfo | CONTEXT_INFO | The CONTEXT_INFO structure that is filled in. |
Результат | int |
public GetLanguageInfo ( string &pbstrLanguage, System.Guid &pguidLanguage ) : int | ||
pbstrLanguage | string | Returns a string that contains the name of the language, such as "C++.". |
pguidLanguage | System.Guid | Returns the GUID for the language of the code context, for example, guidCPPLang. |
Результат | int |
public GetName ( string &pbstrName ) : int | ||
pbstrName | string | Returns the name of the memory context. |
Результат | int |
public SetDocumentContext ( IDebugDocumentContext2 docContext ) : void | ||
docContext | IDebugDocumentContext2 | The IDebugDocumentContext2 object that corresponds to the code context. |
Результат | void |
public Subtract ( ulong dwCount, IDebugMemoryContext2 &ppMemCxt ) : int | ||
dwCount | ulong | The number of memory bytes to decrement. |
ppMemCxt | IDebugMemoryContext2 | Returns a new IDebugMemoryContext2 object. |
Результат | int |