Browse Prior Art Database

Method for Managing a Debugger When Control Is Transferred One Program to Another

IP.com Disclosure Number: IPCOM000099197D
Original Publication Date: 1990-Jan-01
Included in the Prior Art Database: 2005-Mar-14
Document File: 2 page(s) / 75K

Publishing Venue

IBM

Related People

Cohan, LA: AUTHOR [+3]

Abstract

Computer programs are generally composed of many (i.e., routines, subroutines, procedures, Control is generally transferred from one to another by way of a CALL/RETURN mechanism. one subprogram has control at any one time. Program displays ordinarily show only the subprogram having control (i.e., the "current subprogram"). The which called the current subprogram is not shown.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 70% of the total text.

Method for Managing a Debugger When Control Is Transferred One Program to Another

       Computer programs are generally composed of many (i.e.,
routines, subroutines, procedures,  Control is generally transferred
from one to another by way of a CALL/RETURN mechanism. one subprogram
has control at any one time.  Program displays ordinarily show only
the subprogram having control (i.e., the "current subprogram").  The
which called the current subprogram is not shown.

      The method described herein for managing a program display
simultaneously shows the current the subprogram which called the
current the subprogram which called that subprogram, and on.

      The method is illustrated by the flow chart in Fig. 1. chart
shows the relevant conditions that the debugger detect and the
corresponding actions to be taken.  When subprogram is called, it is
shown in a new "window" on the which partially overlaps the window
containing the which called it.  This occurs even when a calls itself
recursively.  When the current returns, its window is removed from
the display, the window containing the subprogram which called

      An example of the method is shown in Fig. 2.  In Fig. 2, A
the current subprogram X displayed in a window. B shows that
subprogram X has called subprogram Y.  Y the current subprogram and
is displayed in a window overlapping the window containing X.  Screen
C that subprogram Y has called itself recursively.  A copy" of Y
becomes the...