Debugging Tools for Windows |
The SetOffsetExpression and SetOffsetExpressionWide methods set an expression string that evaluates to the location that triggers a breakpoint.
HRESULT
IDebugBreakpoint::SetOffsetExpression(
IN PCSTR Expression
);
HRESULT
IDebugBreakpoint2::SetOffsetExpressionWide(
IN PCSTR Expression
);
#ifdef UNICODE
#define SetOffsetExpressionT SetOffsetExpressionWide
#else
#define SetOffsetExpressionT SetOffsetExpression
#endif
SetOffsetExpression and SetOffsetExpressionWide might return one of the following values:
This method might also return error values. For more information about possible return values, see Return Values.
For more information about how to use breakpoints, see Using Breakpoints.
Versions: SetOffsetExpression is available in all versions of IDebugBreakpoint. SetOffsetExpressionWide is available in IDebugBreakpoint2 and later versions.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.