GdbMiSession.breakCondition

MiPendingCommand breakCondition(int number, string condition = null) @trusted

Sets the condition of a breakpoint.

The condition is a raw GDB expression (not quoted). It is passed through quoteMiArg so that special characters in the expression are properly escaped for the MI command stream.

Parameters

numberBreakpoint number.
conditionBreakpoint condition expression. If null, the condition is cleared.

Returns

A pending command for -break-condition.