TOC PREV NEXT INDEX

 


The Code Display


The Code display shows exactly one Tcl code source at a time. A code source is either a file opened in the File menu, a file that has been sourced by the application, or a chunk of code dynamically created at runtime by commands such as eval. The Window menu lists all the open files, allowing you to select the file you want to view. You can also select a code source to view from the Breakpoint and Procedures windows. See "Using Breakpoints" and "Finding Procedures".

When the application is stopped, an arrow or triangle appears in the code bar indicating the current command with highlighted text. For example, in Figure 1, the portion of the code that is highlighted is code that is about to be executed and it is also indicated by the yellow run arrow in the code bar. Code is also highlighted if it is found using the Find command. See "Going to a Specified Line" for information on commands that you can use to move through and search for specific portions of code.

The main window includes a status bar. The left portion of the status bar displays the information about the state of the debugger session, or information about the tool bar buttons if you place your cursor over a button. The center displays an asterisk ("*") if the current code source is uninstrumented; see "About TclPro Instrumentation". The right portion displays the current file name and line number.

If you see the message "No Source Code..." in the Code display, there are two possible reasons:




http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX