Browse Prior Art Database

Method for displaying and modifying the contents of a morphable program construct Disclosure Number: IPCOM000014923D
Original Publication Date: 2001-Nov-08
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue



Disclosed is a method for displaying and modifying the contents of mophable programming constructs in a debugging environment. Morphable programming constructs contain attributes (i.e. length, size, and type) that can change throughout the execution of a software program that uses them. The debugger environment consists of a debug engine, which is responsible for controlling the execution of a particular program as directed by a debug user interface. The use of status information in the debugger engine provides the ability to debug(display, modify, etc.) the contents of these dynamic programming constructs. This method eliminates the need for the user to repeatedly query the debug engine to debug such constructs. Status information is required to determine the occurrence of an attribute change for a morphable construct that is being debugged. This status information is maintained in the debug engine and used to compare against the new attributes of a construct upon re-evaluation. If differences are detected between the status information and the new attributes, then the information(format and content) sent to the user is changed accordingly. Otherwise, the attributes of the construct are unchanged and the information sent to the user may only change in content and not form. The invention solves the problem by keeping track of the attributes for a morphable construct to be used for comparison after re-evaluation of the construct at a new point of execution during a debugging session. Below is portion of pseudocode to help explain the invention: