Debugging Tools for Windows |
The GetCodeLevel method returns the current code level and is mainly used when stepping through code.
HRESULT
IDebugControl::GetCodeLevel(
OUT PULONG Level
);
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. |
This method can also return error values. See Return Values for more details.
GetCodeLevel is available in all versions of IDebugControl.
For more information about the code level, see Using Source Files.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.