Managing breakpoints in a multi-threaded environment
Abstract
A method, apparatus, system, and signal-bearing medium that in an embodiment determine whether to stop execution of a program at a breakpoint based on a previous value of a variable. In another embodiment, an attribute is applied to all breakpoints in a breakpoint group. The attribute includes data that is used to decide whether to halt the program upon encountering the breakpoints or allow the program to continue to execute. In another embodiment, breakpoints are excluded or included on the basis of the thread in which the breakpoint is encountered by the program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 22.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: saving a plurality of values for a variable after a respective plurality of encounters of a breakpoint by a program that modifies the variable; selecting one of the plurality of values based on a condition; determining whether to stop execution of the program at the breakpoint based on the one of the plurality of the values; if determining is true, stopping execution of the program at the breakpoint; and if the determining is false, allowing the program to continue to execute.
- Claim 2Depends on #1
The method of claim 1 , wherein the selecting further comprises: finding the one of the plurality of values that is associated with a time that the breakpoint was encountered, wherein the condition specifies the time.
- Claim 3Depends on #2
The method of claim 2 , wherein the determining further comprises: determining whether the condition is true usin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 22 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (4)
- Chem et al, "Debugging with control flow breakpoints", ACM AOSD, pp. 96-106, 2007.
- Iqbal et al, "Undersanding and developing models for detecting and differentiating breakpoints during interactive tasks" ACM CHI, pp. 697-706, 2007.
- Koch et al, "Breakpoints and breakpoint detection in source level emulation", IEEE ISSS, pp. 26-31, 1996.
- Wahbe et al, "Practical data breakpoints: design and implementations", ACM SIGPLAN PLDI, pp. 1-12, 1993.