Managing breakpoints in a multi-threaded environment
First Claim
Patent Images
1. 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.
1 Assignment
0 Petitions
Accused Products
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.
40 Citations
16 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method comprising:
-
applying an attribute to all of a plurality of breakpoints in a breakpoint group; saving a plurality of values for a variable specified by a condition after a respective plurality of encounters of one of the plurality of breakpoints by a program that modifies the variable; selecting one of the plurality of values based on the condition; determining whether to stop execution of the program at the one of the plurality of breakpoints based on the one of the plurality of the values; if the determining is true, stopping execution of the program at the one of the plurality of breakpoints; and if the determining is false, allowing the program to continue to execute. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method comprising:
-
saving a plurality of values for a variable specified by a condition 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 the condition; determining whether to allow the program to continue executing at the breakpoint based on the one of the plurality of the values and based on a thread of the program; if the determining is false, stopping execution of the program at the breakpoint; and if the determining is true, allowing the program to continue to execute. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification