UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dbgeng.IDebugControl.SetCodeLevel |
IDebugControl::SetCodeLevel (dbgeng.h) |
Learn how the SetCodeLevel method sets the current code level and is mainly used when stepping through code. |
debugger\setcodelevel.htm |
debugger |
05/03/2018 |
|
IDebugControl interface [Windows Debugging],SetCodeLevel method, IDebugControl.SetCodeLevel, IDebugControl2 interface [Windows Debugging],SetCodeLevel method, IDebugControl2::SetCodeLevel, IDebugControl3 interface [Windows Debugging],SetCodeLevel method, IDebugControl3::SetCodeLevel, IDebugControl::SetCodeLevel, IDebugControl_40aa5eed-ef3f-4ec4-84eb-0cfec638bc4a.xml, SetCodeLevel, SetCodeLevel method [Windows Debugging], SetCodeLevel method [Windows Debugging],IDebugControl interface, SetCodeLevel method [Windows Debugging],IDebugControl2 interface, SetCodeLevel method [Windows Debugging],IDebugControl3 interface, dbgeng/IDebugControl2::SetCodeLevel, dbgeng/IDebugControl3::SetCodeLevel, dbgeng/IDebugControl::SetCodeLevel, debugger.setcodelevel |
dbgeng.h |
Dbgeng.h |
Desktop |
Windows |
|
|
|
|
|
The SetCodeLevel method sets the current code level and is mainly used when stepping through code.
Specifies 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. |
This method can also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
For more information about the code level, see Using Source Files.