如果在设置断点条件时使用了无效语法,将立即出现警告消息。
If you set a breakpoint condition with invalid syntax, a warning message appears immediately.
毫无疑问,最常见的调试步骤是设置断点,这样可以检查条件语句或循环内的变量和值。
Undoubtedly, the most common debugging procedure is to set breakpoints that will allow the inspection of variables and the values inside conditional statements or loops.
条件中指定的变量必须在设置了断点的行中,否则表达式就没有什么意义!
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!
应用推荐