TEXTILE COMPUTER SYSTEMS, INC

618 Bluff Trail, San Antonio, TX 78216
Telephone(210)491-0046, Fax(210)491-9054

The SQR Interactive Debugger which has a general name of "DEB*010.SQT" creates an SQR Debug file for any required SQR, with a file extension of ".XFD". When this Debug file is executed with a debug flag of "-DEBUG*" (both interactive and trace mode) or "-DEBUG%" (only interactive mode) the required SQR could be debugged interactively. When this Debug file is executed with a debug flag of "-DEBUG*" (both interactive and trace mode) or "-DEBUG#" (only trace mode) the trace file for the required SQR could be created. The Trace File has the following information:
Any SQR might be easily debugged using interactive debugging along with the Trace File information. For more information on how to execute the debugger refer to the manual or the "READMED.TXT" file that came along with the software.

At the beginning of the execution, the debugger automatically switches all the logical break points at the beginning of each procedure to on position. So this will temporarily stop the execution of the SQR at the beginning of the first procedure, and at this point a panel similar to the one shown at FIGURE 1 will be presented to the user.


FIGURE 1


When the execution stops temporarily, because a logical brek point is turned on to break, a panel similar to the one shown in FIGURE 1 is presented to the user, showing the source code starting from the last executed statement and names of as many variables as possible and their values. The left half of the screen is used to display the source code whereas the right half of the screen is used to display the variable names and their values. Because of the limited screen space only selected variables are displayed. The variables that were changed during the last executed statment and the variables that were changed manually will be given higher preference. The variables are displayed in alphabetical order. The variables that were changed during the last executed statment are highlighted with the message "(C)" and the variables that were changed manually are highlighted with the message "(M)" in front of the respective variable names. At this point the user has the following choices:

Top Home


FIGURE 2


The line numbers and the names of the decalred procedures are displayed in a panel similar to the one shown in FIGURE 2. Also in this panel the total number of declared procedures are displayed. At this point the user has the following choices:

Top Home


FIGURE 3

The panel shown in FIGURE 3 is similar to the one shown in FIGURE 1 except that the staring source code line number is different from the last executed statment line number. The user can view the source code starting from any selected line number. User entry of P would bring back the panel shown in FIGURE 1 where the starting source code line number is same as the last executed statment line number.

Top Home


FIGURE 4

The panel shown in FIGURE 4 is similar to the one shown in FIGURE 1 except that the mode of trace file is changed from "Y" to "N" or from "N" to "Y". The user can change the mode from "Y" to "N" and vice versa. When the mode is set to "Y" the trace inforamtion will be written to the trace file.

Top Home


FIGURE 5


The panel shown in FIGURE 5 is similar to the one shown in FIGURE 1 except that the starting line number is different, if a line number is entered along with "T", and the break mode is different. The user can view the source code starting from any selected line number entered along with "T". The toggle makes any line number, which is a logical break point, from "OFF" position to "ON" position and vice versa. The logical break points are highlighted with "*" in front of the line numbers and the logical break points that are set to "ON" position are highlighted with "%*" in front of the line numbers. At this point the user has all the choices that were available as before and explained for FIGURE 1.

Top Home


FIGURE 6

The panel shown in FIGURE 6 is similar to the one shown in FIGURE 1 except that all the logical break points are set to "ON" position. At this point the user has all the choices that were available as before and explained for FIGURE 1.

Top Home


FIGURE 7

The panel shown in FIGURE 7 is similar to the one shown in FIGURE 1 except that all the logical break points are set to "OFF" position. At this point the user has all the choices that were available as before and explained for FIGURE 1.

Top Home


FIGURE 8

The panel shown in FIGURE 8 is similar to the one shown in FIGURE 1 except that all the logical break points at the beginning of every proceudre are set to "ON" position. At this point the user has all the choices that were available as before and explained for FIGURE 1.

Top Home


FIGURE 9

The panel shown in FIGURE 9 is similar to the one shown in FIGURE 1 except that the execution was stopped temporarily at the next executed logical break point, whether that break point was to "ON" position or not. At this point the user has all the choices that were available as before and explained for FIGURE 1.

Top Home


FIGURE 10

The panel similar to the one shown in FIGURE 10 will be presented to the user when the user chose the option "G" in the previous panel which was similar to the one shown in FIGURE 1. At this point the user has the following choices:

Top Home


FIGURE 11



Top Home


FIGURE 12

The panel similar to the one shown in FIGURE 12 will be presented to the user when the user chose the option "L" in the previous panel which was similar to the one shown in FIGURE 1. At this point the user has the following choices:

Top Home


FIGURE 13

The panel shown in FIGURE 13 will be presented so that the user can stop the program after executing an exit routine or can continue running the program. At this point the user has the following choices:

Top Home