TRACING A CALLTREE OF A SPECIFIED ROOT METHOD
First Claim
9. A computer program product comprising a computer useable medium including computer usable program code for call tree tracing in a program having a plurality of routines, the computer program product including:
- computer usable program code for obtaining a specification of a routine name for one of the routines forming a root of the call tree;
computer usable program code for obtaining a specification of a desired depth of the call tree tracing;
computer usable program code for, upon entering a given one of the routines, determining whether the given one of the routines is the routine forming the root of the call tree; and
computer usable program code for, responsive to determining that the given one of the routines is the routine forming the root of the call tree;
outputting trace information for the routine forming the root of the call tree;
upon entering a given one of the routines called, directly or indirectly, by the routine forming the root of the call tree, determining whether the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth from the routine forming the root of the call tree; and
responsive to determining that the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth,outputting trace information for the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree.
1 Assignment
0 Petitions
Accused Products
Abstract
A specification of a routine name of a root of a call tree and a specification of a desired depth of call tree tracing are obtained. Upon entering a given routine in a program, a determination is made whether the given routine is the root. Responsive to determining that the given one of the routines is the root, trace information for the routine forming the root is output. Furthermore, upon entering a given one of the routines called, directly or indirectly, by the routine forming the root, a determination is made whether the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth from the routine forming the root of the call tree; and if this is the case, trace information is output for given one of the routines called, directly or indirectly, by the routine forming the root of the call tree.
26 Citations
25 Claims
-
9. A computer program product comprising a computer useable medium including computer usable program code for call tree tracing in a program having a plurality of routines, the computer program product including:
-
computer usable program code for obtaining a specification of a routine name for one of the routines forming a root of the call tree; computer usable program code for obtaining a specification of a desired depth of the call tree tracing; computer usable program code for, upon entering a given one of the routines, determining whether the given one of the routines is the routine forming the root of the call tree; and computer usable program code for, responsive to determining that the given one of the routines is the routine forming the root of the call tree; outputting trace information for the routine forming the root of the call tree; upon entering a given one of the routines called, directly or indirectly, by the routine forming the root of the call tree, determining whether the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth from the routine forming the root of the call tree; and responsive to determining that the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth, outputting trace information for the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for call tree tracing in a program having a plurality of routines, the system comprising:
-
a memory; and at least one processor, coupled to the memory, and operative to obtain a specification of a routine name for one of the routines forming a root of the call tree; obtain a specification of a desired depth of the call tree tracing; upon entering a given one of the routines, determine whether the given one of the routines is the routine forming the root of the call tree; and responsive to determining that the given one of the routines is the routine forming the root of the call tree; output trace information for the routine forming the root of the call tree; upon entering a given one of the routines called, directly or indirectly, by the routine forming the root of the call tree, determine whether the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth from the routine forming the root of the call tree; and responsive to determining that the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth, output trace information for the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree. - View Dependent Claims (1, 2, 3, 4, 5, 6, 7, 8, 18, 20, 21, 22, 23, 24)
-
-
18-1. The system of claim 17, further comprising the additional step of, responsive to determining that the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is not within the desired depth, not outputting trace information for the routine forming the root of the call tree.
-
25. A system for call tree tracing in a program having a plurality of routines, the system comprising:
-
means for obtaining a specification of a routine name for one of the routines forming a root of the call tree; means for obtaining a specification of a desired depth of the call tree tracing; means for, upon entering a given one of the routines, determining whether the given one of the routines is the routine forming the root of the call tree; and means for, responsive to determining that the given one of the routines is the routine forming the root of the call tree; outputting trace information for the routine forming the root of the call tree; upon entering a given one of the routines called, directly or indirectly, by the routine forming the root of the call tree, determining whether the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth from the routine forming the root of the call tree; and responsive to determining that the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth, outputting trace information for the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree.
-
Specification