IDebugBreakpoint::SetOffsetExpression method (dbgeng.h)
The SetOffsetExpression methods set an expression string that evaluates to the location that triggers a breakpoint.
Syntax
HRESULT SetOffsetExpression(
[in] PCSTR Expression
);
Parameters
[in] Expression
The expression string that evaluates to the location on the target that triggers the breakpoint. If the engine cannot evaluate the expression (for example, if the expression contains a symbol that cannot be interpreted), the breakpoint is flagged as deferred. (For more information about deferred breakpoints, see Controlling Breakpoint Flags and Parameters.) For more information about the expression syntax, see Using Breakpoints.
Return value
Return code | Description |
---|---|
|
The method was successful. |
This method can also return error values. For more information, see Return Values.
Remarks
For more information about how to use breakpoints, see Using Breakpoints.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |