System and process for debugging object-oriented programming code leveraging preprocessors
First Claim
Patent Images
1. A method of interactive debugging of an object-oriented computer program, comprising:
- including mark-up information as one or more comments into source code of the application program, the mark-up information associated with eligible debugging methods;
identifying eligible methods out of a set of possible eligible methods based on the mark-up information, wherein an eligible method takes no parameter, has a return type, and returns a result using the mark-up information;
generating a debug-enabled version of the computer program including debugging methods based on the mark-up information as a result of preprocessing the source code, wherein the debugging methods are named based on a recognizable pattern distinguishable from method names and additionally include a derived short name based on a method name, wherein the recognizable pattern is used for sorting out the eligible methods out of the set of possible eligible methods, and the recognizable pattern comprises a recognizable character pattern recognized using pattern based filtering; and
providing the debug-enabled version of the program computer to a debugger for debugging purposes using the debugging methods, wherein the debugging methods comprise debug-only methods which take no parameter, return a result, and have a name that encodes a marker and a short name, wherein a pseudo-field name is derived and a pseudo-field value is returned and used as a true value, and wherein the debugger is able to decode the short name.
1 Assignment
0 Petitions
Accused Products
Abstract
A process and system for debugging of a computer program, is provided. One implementation involves including mark-up information into source code of the application program, generating a debug-enabled version of the computer program including debugging methods based on the mark-up information, and providing the debug-enabled version of the program computer to a debugger for debugging purposes using the debugging methods.
47 Citations
17 Claims
-
1. A method of interactive debugging of an object-oriented computer program, comprising:
-
including mark-up information as one or more comments into source code of the application program, the mark-up information associated with eligible debugging methods; identifying eligible methods out of a set of possible eligible methods based on the mark-up information, wherein an eligible method takes no parameter, has a return type, and returns a result using the mark-up information; generating a debug-enabled version of the computer program including debugging methods based on the mark-up information as a result of preprocessing the source code, wherein the debugging methods are named based on a recognizable pattern distinguishable from method names and additionally include a derived short name based on a method name, wherein the recognizable pattern is used for sorting out the eligible methods out of the set of possible eligible methods, and the recognizable pattern comprises a recognizable character pattern recognized using pattern based filtering; and providing the debug-enabled version of the program computer to a debugger for debugging purposes using the debugging methods, wherein the debugging methods comprise debug-only methods which take no parameter, return a result, and have a name that encodes a marker and a short name, wherein a pseudo-field name is derived and a pseudo-field value is returned and used as a true value, and wherein the debugger is able to decode the short name. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for interactive debugging of a computer program, comprising:
-
a hardware processor coupled with a preprocessing module, the preprocessing module using the hardware processor for receiving source code of the computer program including mark-up information as one or more comments, the mark-up information associated with eligible debugging methods, identifying eligible methods out of a set of possible eligible methods based on the mark-up information, wherein an eligible method takes no parameter, has a return type, and returns a result using the mark-up information, and generating a debug-enabled version of the computer program including debugging methods based on the mark-up information as a result of preprocessing the source code by the preprocessing module, wherein the debugging methods are named based on a recognizable pattern distinguishable from method names and additionally include a derived short name based on a method name, wherein the recognizable pattern is used for sorting out the eligible methods out of the set of possible eligible methods, and the recognizable pattern comprises a recognizable character pattern recognized using pattern based filtering; and a debugger configured for executing the debug-enabled version of the program computer for debugging purposes using the debugging methods, wherein the debugging methods comprise debug-only methods which take no parameter, return a result, and have a name that encodes a marker and a short name, wherein the debugger is able to decode the short name, and wherein a pseudo-field name is derived and a pseudo-field value is returned and used as a true value. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program product for interactive debugging of an application program, comprising a non-transitory computer usable medium including a computer readable program, wherein the computer readable program when executed on a computer causes the computer to:
-
receive source code of the application program including mark-up information as one or more comments, the mark-up information associated with eligible debugging methods, identify eligible methods of a set of possible eligible methods based on the mark-up information, wherein an eligible method takes no parameter, has a return type, and returns a result using the mark-up information, and generate a debug-enabled version of the application program including debugging methods based on the mark-up information as a result of preprocessing the source code, wherein the debugging methods are named based on a recognizable pattern distinguishable from method names and additionally include a derived short name based on a method name, wherein the recognizable pattern is used for sorting out the eligible methods out of the set of possible eligible methods, and the recognizable pattern comprises a recognizable character pattern recognized using pattern based filtering; and executing the debug-enabled version of the application program for debugging purposes using the debugging methods, wherein the debugging methods comprise debug-only methods which take no parameter, return a result, and have a name that encodes a marker and a short name, wherein a pseudo-field name is derived and a pseudo-field value is returned and used as a true value, and wherein the debugger is able to decode the short name. - View Dependent Claims (15, 16, 17)
-
Specification