摘要 |
In an embodiment, a determination is made whether a breakpoint command identifies a breakpoint location, a condition expression, and a condition location with the condition location separate from the breakpoint location. If the determination is true and execution of a program reaches the condition location, the condition expression is evaluated at the condition location, and a result of the condition expression is saved and associated with the breakpoint location. In response to execution of the program reaching the breakpoint location, if the result exists and is associated with the breakpoint location, the execution of the program is halted at the breakpoint location. But, if the result is false, the program is allowed to continue executing at the breakpoint location. In various embodiments, the condition expression may include a variable that is out-of-scope at the breakpoint location, or an identification of a storage location that is unaddressable while execution of the program is at the breakpoint location, but addressable while execution of the program is at the condition location.
|