Debugging Tools for Windows |
The SetCodeLevel method sets the current code level and is mainly used when stepping through code.
HRESULT
IDebugControl::SetCodeLevel(
IN ULONG 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.
SetCodeLevel 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.