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.IDebugBreakpoint.SetCommand |
IDebugBreakpoint::SetCommand (dbgeng.h) |
The SetCommand method sets the command that is executed when a breakpoint is triggered. This method belongs to the IDebugBreakpoint interface. |
debugger\setcommand.htm |
debugger |
05/03/2018 |
|
ComOther_166ee15d-c9e1-466f-9337-a6d20e9355ee.xml, IDebugBreakpoint interface [Windows Debugging],SetCommand method, IDebugBreakpoint.SetCommand, IDebugBreakpoint2 interface [Windows Debugging],SetCommand method, IDebugBreakpoint2::SetCommand, IDebugBreakpoint::SetCommand, SetCommand, SetCommand method [Windows Debugging], SetCommand method [Windows Debugging],IDebugBreakpoint interface, SetCommand method [Windows Debugging],IDebugBreakpoint2 interface, dbgeng/IDebugBreakpoint2::SetCommand, dbgeng/IDebugBreakpoint::SetCommand, debugger.setcommand |
dbgeng.h |
Dbgeng.h |
Desktop |
Windows |
|
|
|
|
|
The SetCommand method sets the command that is executed when a breakpoint is triggered.
The command string that is executed when the breakpoint is triggered.
Return code | Description |
---|---|
|
The method was successful. |
This method can also return error values. For more information, see Return Values.
The command string is a list of debugger commands that are separated by semicolons. These commands are executed every time that the breakpoint is triggered. The commands are executed before the engine informs any event callbacks that the breakpoint has been triggered.
If the command string includes an execution command such as G (Go), this command should be the last command in the Command string. If a command causes the target to resume execution, the rest of the command string is ignored.
For more information about breakpoint properties, see Controlling Breakpoint Flags and Parameters.