IDebugBreakpoint2::SetOffsetExpression method (dbgeng.h)
The SetOffsetExpression methods set an expression string that evaluates to the location that triggers a breakpoint.
HRESULT SetOffsetExpression(
[in] PCSTR Expression
);
[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 code | Description |
---|---|
|
The method was successful. |
This method can also return error values. For more information, see Return Values.
For more information about how to use breakpoints, see Using Breakpoints.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |