US2007300209A1PendingUtilityA1

Run into function

Assignee: BATES CARY LPriority: Sep 18, 2003Filed: Sep 5, 2007Published: Dec 27, 2007
Est. expirySep 18, 2023(expired)· nominal 20-yr term from priority
G06F 11/3648
51
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

Method, apparatus, and article of manufacture for of debugging object-oriented code. A user selects a method call at a location in the object-oriented code and a debugger parses the selected method call. Parsing the selected method call comprises determining a base class of the method call, determining one or more override methods, and setting a respective breakpoint at a respective entry point of the method and each of one or more override methods. Each override method is associated with a derived class of the base class, and a name of the method call. During execution of the object-oriented code under debug, the debugger determines whether a method that executed one of the respective breakpoints is called from the user-selected location in the object-oriented code.

Claims

exact text as granted — not AI-modified
1 . A computer-implemented method of debugging object-oriented code, the method comprising: 
 receiving a user-selection of a method call at a location in the object-oriented code;    parsing, by a debugger, the selected method call, wherein parsing the selected method call comprises: 
 determining a base class of the method call;  
 determining one or more override methods, wherein each override method is associated with a derived class of the base class, and a name of the method call;  
 setting a respective breakpoint at a respective entry point of: 
 the method call; and  
 each of the one or more override methods; and  
 
   during execution of the object-oriented code under debug, determining whether a method that executed one of the respective breakpoints is called from the location in the object-oriented code.    
     
     
         2 . The method of  claim 1 , wherein the user selection is made through a graphical user interface.  
     
     
         3 . The method of  claim 1 , further comprising receiving a user variable command, containing: 
 a variable identifier associated with a variable of the object-oriented code; and    a new value associated with the variable; and    in response to receiving the user variable command, changing a value associated with the variable to the new value.    
     
     
         4 . The method of  claim 1  wherein if the method that executed the one of the respective breakpoints is called from the location in the object-oriented code, further comprises halting execution.  
     
     
         5 . The method of  claim 4 , wherein the user selection is made through a graphical user interface.  
     
     
         6 . A computer readable storage medium containing a program which, when executed performs an operation comprising: 
 receiving a user-selection of a method call at a location in the object-oriented code;    parsing, by a debugger, the selected method call, wherein parsing the selected method call comprises: 
 determining a base class of the method call;  
 determining one or more override methods, wherein each override method is associated with a derived class of the base class, and a name of the method call;  
 setting a respective breakpoint at a respective entry point of: 
 the method call; and  
 each of the one or more override methods; and  
 
   during execution of the object-oriented code under debug, determining whether a method that executed one of the respective breakpoints is called from the location in the object-oriented code.    
     
     
         7 . The computer readable storage medium  6 , wherein the user selection is made through a graphical user interface.  
     
     
         8 . The computer readable storage medium  6 , further comprising receiving a user variable command, containing: 
 a variable identifier associated with a variable of the object-oriented code; and    a new value associated with the variable; and    in response to receiving the user variable command, changing a value associated with the variable to the new value.    
     
     
         9 . The computer readable storage medium  6  wherein if the method that executed the one of the respective breakpoints is called from the location in the object-oriented code, further comprises halting execution.  
     
     
         10 . The computer readable storage medium  9 , wherein the user selection is made through a graphical user interface.  
     
     
         11 . A system, comprising: 
 a processor;    a memory containing a program which, when executed by the processor, is configured to: 
 receive a user-selection of a method call at a location in the object-oriented code;  
 parse the selected method call, wherein parsing the selected method call comprises: 
 determining a base class of the method call;  
 determining one or more override methods, wherein each override method is associated with a derived class of the base class, and a name of the method call;  
 setting a respective breakpoint at a respective entry point of: 
 the method call; and  
 each of the one or more override methods; and  
 
 
 during execution of the object-oriented code under debug, determine whether a method that executed one of the respective breakpoints is called from the location in the object-oriented code.  
   
     
     
         12 . The system of  claim 11 , wherein the user selection is made through a graphical user interface.  
     
     
         13 . The system of  claim 11 , wherein the program is further configured to: 
 receive a user variable command, containing: 
 a variable identifier associated with a variable of the object-oriented code; and  
 a new value associated with the variable; and  
   in response to receiving the user variable command, change a value associated with the variable to the new value.    
     
     
         14 . The system of  claim 11  wherein the program is further configured to halt execution if the method that executed the one of the respective breakpoints is called from the location in the object-oriented code.  
     
     
         15 . The system of  claim 14 , wherein the user selection is made through a graphical user interface.

Join the waitlist — get patent alerts

Track US2007300209A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.