Multi-process debugger
AssigneeHewlett-Packard Development Company, L.P.
InventorsPoorva Gupta, Venkatesh Radhakrishnan
Life of this patent
Estimating the term…
Abstract
A method of debugging a set of processes is disclosed. There is included providing a first debugger and forking the debugger, thereby creating a set of inner debuggers and an outer debugger. Each of the set of inner debuggers is configured to debug one of the set of processes. There is also included employing the outer debugger to interact with the set of inner debuggers to debug the set of processes.
Claims20
In a computer system, a method of debugging a set of processes, comprising:
- providing a first debugger;
- forking said first debugger, thereby creating a set of inner debuggers and an outer debugger, wherein the set of inner debuggers are forked from the outer debugger, each inner debugger of said set of inner debuggers being configured to debug a respective process of said set of processes, wherein each inner debugger debugs a respective single process, wherein said first debugger includes a first set of code and a second set of code, said first set of code and said second set of code being activated in the alternative, said first set of code being activated in said outer debugger, said second set of code being activated in said set of inner debuggers;
- ascertaining a process ID value returned from said forking, said process ID value determines whether said first set of code or said second set of code be activated;
- employing said outer debugger to interact with said set of inner debuggers wherein the inner debuggers debug said set of processes;
- and
- forking a first inner debugger of said set of inner debuggers, thereby creating a second inner debugger.
In a computer system, an arrangement for debugging a set of processes, comprising:
- a processor;
- an outer debugger;
- and
- a set of inner debuggers, said outer debugger and said set of inner debuggers representing debuggers forked from a single debugger, wherein said processor executes said single debugger, each inner debugger of said set of inner debuggers being configured to debug a respective process of a set of processes so that each inner debugger debugs a respective single process, said outer debugger being configured to facilitate communication between a user of said computer system and said each inner debugger of said set of inner debuggers;
- and
- a second inner debugger forked from an inner debugger of said set of inner debuggers:
- wherein said single debugger includes a first set of code and a second set of code, said first set of code and said second set of code being activated in the alternative, said first set of code being activated in said outer debugger, said second set of code being activated in said set of inner debuggers.
An article of manufacture comprising a program storage medium having computer readable code embodied therein, said computer readable code being configured to debug a set of processes in a computer system, comprising:
- a first set of code implementing a debugger;
- a second set of code associated with said debugger, said second set of code being configured to ascertain a process ID value returned when said debugger is forked by an operating system of said computer system;
- a third set of code and a fourth set of code, said third set of code and said fourth set of code being activated in the alternative, said third set of code being activated in a parent instantiation of said debugger when said debugger is forked, said fourth set of code being activated in a child instantiation of said debugger when said debugger is forked, wherein the child instantiation is forked from the parent instantiation and wherein the process ID value identifies an instantiation of said debugger as either a parent instantiation or a child instantiation.
Dependencies are inferred from the claim text.