Breakpoints can be set to unconditional using the 'condition' command specifying a breakpoint number without an expression, for example 'condition 1' sets breakpoint 1 to unconditional.
使用'condition '命令时,如果指定断点编号但又不指定表达式,可以将断点设置成无条件断点,例如,' condition1 '就将1号断点设置成无条件断点。
The variables specified in the condition must be in scope at whatever line you set the breakpoint on, otherwise the expression wouldn't make sense!
条件中指定的变量必须在设置了断点的行中,否则表达式就没有什么意义!
If a breakpoint such as number 1 was already defined at line 21 we could use the 'condition' command instead to set the condition on the breakpoint.
如果已经在第21行中设置了断点,如1号断点,则可以使用'condition '命令来代替在断点上设置条件。
If you set a breakpoint condition with invalid syntax, a warning message appears immediately.
如果在设置断点条件时使用了无效语法,将立即出现警告消息。
If you set a breakpoint condition with invalid syntax, a warning message appears immediately.
如果在设置断点条件时使用了无效语法,将立即出现警告消息。
应用推荐