IDebugControl::GetCodeLevel method
The GetCodeLevel method returns the current code level and is mainly used when stepping through code.
Syntax
HRESULT GetCodeLevel( [out] PULONG Level );
Parameters
- Level [out]
-
Receives the current code level. Level can take one of the values in the following table.
Value Description DEBUG_LEVEL_SOURCE
Source mode. When stepping through code on the target, the size of a single step will be a line of source code.
DEBUG_LEVEL_ASSEMBLY
Assembly mode. When stepping through code on the target, the size of a single step will be a single processor instruction.
Return value
This method can also return error values. See Return Values for more details.
| Return code | Description |
|---|---|
|
The method was successful. |
Remarks
For more information about the code level, see Using Source Files.
Requirements
|
Header |
|
|---|
See also
Send comments about this topic to Microsoft
Build date: 4/9/2013
