Low impact breakpoint for multi-user debugging
First Claim
Patent Images
1. A method of debugging a program in a computer system, comprising:
- automatically removing at least a portion of all breakpoints associated with a particular job from the program when a debugger gets control of the program for the particular job; and
upon returning control from the debugger to the program, automatically reestablishing at least one useful breakpoint from the removed breakpoints wherein the at least one useful breakpoint is determined by one of;
executing a task to identify each unexecuted breakpoint located in an unexecuted portion of the program; and
analyzing a behavior of a user responsible for setting the at least one useful breakpoint.
2 Assignments
0 Petitions
Accused Products
Abstract
Method and system for a software debugger tool. Breakpoints are submitted, as breakpoint data, by a user. A breakpoint manager stores the breakpoint data and inserts the breakpoints into the software program code. The breakpoint manager gains control of the program when a breakpoint is processed associated with a particular job. After the breakpoint manager completes an interrupt routine to process the breakpoint, using instructions stored in the breakpoint data, the method removes breakpoints associated with the particular job. When control is to be returned to the program, only those breakpoints that are found to be useful are set.
32 Citations
28 Claims
-
1. A method of debugging a program in a computer system, comprising:
-
automatically removing at least a portion of all breakpoints associated with a particular job from the program when a debugger gets control of the program for the particular job; and
upon returning control from the debugger to the program, automatically reestablishing at least one useful breakpoint from the removed breakpoints wherein the at least one useful breakpoint is determined by one of;
executing a task to identify each unexecuted breakpoint located in an unexecuted portion of the program; and
analyzing a behavior of a user responsible for setting the at least one useful breakpoint.
-
-
2. A method of debugging a program in a computer system, comprising:
-
automatically removing at least a portion of all breakpoints associated with a particular job from the program when a debugger gets control of the program for the particular job; and
upon returning control from the debugger to the program, automatically reestablishing at least one useful breakpoint from the removed breakpoints, wherein upon returning control from the debugger to the program at least one thread is prevented from continuing execution and wherein any breakpoints which may have been encountered only by the at least one thread during continuing execution are considered useless and are not reestablished.
-
-
3. A method of debugging a program in a computer system, comprising:
-
upon a debugger getting control of the program for a particular job, determining whether at least one useful breakpoint exists in the program for the particular job;
if so, removing from the program all breakpoints associated with the particular job except the at least one useful breakpoint;
prior to returning control to the program from the debugger, determining whether at least one of the removed breakpoints is useful; and
if so, reestablishing the at least one of the removed breakpoints;
wherein at least one of (i) determining whether at least one useful breakpoint exists in the program for the particular job and (ii) determining whether at least one of the removed breakpoints is useful comprises executing a task to identify at least one breakpoint which may be encountered upon resuming execution of the program. - View Dependent Claims (4, 5)
-
-
6. A method of debugging a program in a multi-user computer system, comprising:
-
during a time when execution of the program is halted, removing all breakpoints associated with a particular job from the program;
executing a task to identify each useful breakpoint located in the program, wherein a useful breakpoint is one which may be encountered upon resuming execution of the program; and
if the task is completed before execution of the program is resumed, inserting each useful breakpoint into its original location in the program. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer readable medium, comprising a program which, when executed by a processor in a multi-user system performs operations, comprising:
-
automatically removing at least a portion of all breakpoints associated with a particular job from the program when a debugger gets control of the program for the particular job; and
upon returning control from the debugger to the program, automatically reestablishing at least one useful breakpoint from the removed breakpoints;
wherein the at least one useful breakpoint is determined by one of;
executing a task to identify each unexecuted breakpoint located in an unexecuted portion of the program; and
analyzing a behavior of a user responsible for setting the at least one useful breakpoint.
-
-
16. A computer readable medium, comprising a program which, when executed by a processor in a multi-user system performs operations, comprising:
-
automatically removing at least a portion of all breakpoints associated with a particular job from the program when a debugger gets control of the program for the particular job; and
upon returning control from the debugger to the program, automatically reestablishing at least one useful breakpoint from the removed breakpoints;
wherein upon returning control from the debugger to the program at least one thread is prevented from continuing execution and wherein any breakpoints which may have been encountered only by the at least one thread during continuing execution are considered useless and are not reestablished.
-
-
17. A computer readable medium, comprising a program which, when executed by a processor in a multi-user system performs operations, comprising:
-
during a time when execution of the program is halted, removing all breakpoints associated with a particular job from the program;
executing a task to identify each useful breakpoint located in the program, wherein a useful breakpoint is one which may be encountered upon resuming execution of the program; and
if the task is completed before execution of the program is resumed, inserting each useful breakpoint into its original location in the program. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
Specification