Skip to content

Latest commit

 

History

History
125 lines (94 loc) · 3.31 KB

nf-dbgeng-idebugcontrol-setcodelevel.md

File metadata and controls

125 lines (94 loc) · 3.31 KB
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::SetCodeLevel
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
IDebugControl::SetCodeLevel
dbgeng/IDebugControl::SetCodeLevel
APIRef
kbSyntax
COM
dbgeng.h
IDebugControl::SetCodeLevel

IDebugControl::SetCodeLevel

-description

The SetCodeLevel method sets the current code level and is mainly used when stepping through code.

-parameters

-param Level [in]

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.

-returns

This method can also return error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.

-remarks

For more information about the code level, see Using Source Files.

-see-also

GetCodeLevel

IDebugControl

IDebugControl2

IDebugControl3