Product Information Details Download Purchase License Contact/Feedback

EasyDebug - Detail Information



The EasyDebug dialog is split up into 11 pages:


The Variables dialog page:
<Top of page>

The Variables dialog page shows all the variables of a code line and their contents. The user can either click on the line or select it in single step in Debug mode. Variables are displayed cumulatively. Variables from a new line are added. Variables which become invalid when the scope has been exceeded are automatically removed with the option Show only valid values. The number of displayed variables can be restricted using the option Max. number of variables. If the predefined maximum number of variables is exceeded, the oldest variables to have been added or edited are removed. The option Sort variables can also be used to define whether the variables should be shown sorted or unsorted. A red circle instead of a black circle in front of the variable name indicates that the contents of a variable have been changed. The actual variable contents are shown in the Last Value column. In addition, those variables in the current outline row are indicated by a small dot after the "Edited" circle.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Clear
If the variable contents have been edited, the new variable contents are assigned by clicking on the Set button.
New
A new variable can be entered by clicking on this button.
Clear
Deletes the marked rows of the variable table.
Clear
Deletes the variable table.
Clear
Checks the current status of the variables table and updates the contents if necessary.
Clear
Copies the variable contents to the clipboard.
Edit
The editor defined in the Options menu is opened displaying the contents of the variables.
Prevents variables from being added. This allows watch variables to be set. Variables can still be added manually by clicking on a code line.Watch variables are saved and can be reloaded by .
Reloads watch variables.
Returns in runtime mode to the current outline row.
Jumps to the definition of the marked variable or function. A right button click will have the same result.
Returns from a jump to the definition of a variable or function to the outline row which caused the item to be add to the variable page.
Scans and evaluates a string variable for bind and into variables.
Jumps to the definition of a marked class variable


The Actual Variables dialog page
<Top of page>

The Actual Variables dialog page shows all the variables in a code line together with their contents non-cumulatively. This means that only those variables in the selected line are displayed.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Clear
Copies the variable contents to the clipboard.
Edit
The editor defined in the Options menu is opened displaying the contents of the variables.
Returns in runtime mode to the current outline row.


The Edit dialog page:
<Top of page>

The contents of a variable are shown and can be edited on the Edit dialog page. The edited contents are assigned to the variables and the Variables dialog page is opened by clicking on the 'S' Set button.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Clear
If the variable contents have been edited, the new variable contents are assigned by clicking on the Set button.
Clear
Copies the variable contents to the clipboard.
Edit
The editor defined in the Options menu is opened displaying the contents of the variables.
Returns in runtime mode to the current outline row.


The Array dialog page:
<Top of page>

The dialog page Array displays the value of arrays. Mark the array on the pages Variable or Current Variables and change to this page. A click to the variable name will add the name to the variable page.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Returns in runtime mode to the current outline row.
Clear
Copies the array contents to the clipboard.


The Class dialog page:
<Top of page>

The dialog page Class displays the value of classes. Mark the class on the pages Variable or Current Variables and change to this page. A click to the variable name will add the name to the variable page.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Clear
Shows the definition of the class in the outliner.
Clear
Returns in runtime mode to the current outline row.
   


The Break dialog page
<Top of page>

All the breakpoints of the application are shown on the Break dialog page. The corresponding breakpoint can be enabled or disabled in the outliner by clicking on the Check buttons of a line on the Break dialog page. A click on (or a right click on the line) will display the conditional break dialog where you can enter any conditional Sal expression (e.g. If var1 = "value1" and var2 = "value2"). In run modus program will stop at the breakpoint only when the condition is TRUE.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Clear
A breakpoint is shown in the TD outliner by marking a breakpoint line and then clicking on the 'G' Go button. Double-clicking on the breakpoint line has the same effect.
Edit
A click on this button deletes the marked breakpoints, both on the dialog page and in the TD outliner.
Edit
A click on this button deletes all the breakpoints, both on the dialog page and in the TD outliner.
Clear
Returns in runtime mode to the current outline row.
A break is set on the current line in the outliner.
Calls the conditional break dialog


The Absolut Break dialog page
<Top of page>

This page contains absolut breakpoints. These breakpoints are not set by TD. There are two different kinds of absolut breaks:

Any Sal conditional expression (e.g. If var1 = "value1" and var2 = "value2"). The condition must be entered in the "Absolut break condition" datafield. In order to activate the breakpoint the corresponding check box must be marked. In run modus program will stop when the condition is TRUE. If you check "Disable after first break", application will stop only for one time at the breakpoint. After this stop the breakpoint becomes disabled.

Any literal expression (e.g. "SqlPrepareAndExecute"). The literal must be entered in the "Break on item in source code line" datafield. In order to activate the breakpoint the corresponding check box must be marked. In run modus the program will stop when the executed code line contains the literal. If you check "Disable after first break", application will stop only for one time at the breakpoint. After this stop the breakpoint becomes disabled.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.


The Goto dialog page:
<Top of page>

On the dialog page Goto all clicks to TD navigation treeview will be recorded. A click to an recoded element of the dialog page will display the according view. The feature is usefull in large projects to change between single elements of the navigation treeview. The maximal count of elements to record can be set in the dialogpage options. Bookmarks can be entered into the edidfield above the treeview. A click to will insert the bookmark into the treeview.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Edit
A click on this button deletes the marked elements of the dialog page.
Edit
A click on this button deletes all elements of the dialog page.
Inserts the bookmark into the treeview.


The Search dialog page:
<Top of page>

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Returns in runtime mode to the current outline row.

Summary of controls on the page:

Search 1 Search string no. 1. A history of the last 16 search strings is saved in the combobox and can be selected. Also a marked item in outliner will be shown in the combobox.
Displays a list of guelty expressions for extended search. A click will insert the expression into search 1.
and If search 2 is not empty, the search is succesful is search 1 and search 2 will match.
or If search 2 is not empty, the search is succesful is search 1 or search 2 will match.
and not If search 2 is not empty, the search is succesful is search 1 or not search 2 will match.
Search 2 Search string no. 2. A history of the last 16 search strings is saved in the combobox and can be selected.
Displays a list of guelty expressions for extended search. A click will insert the expression into search 2.
Match case If marked, the search is case sensitive.
No comments If marked, comments are skipped from the search.
Extended search

In extended search mode a search string can contain the following expressions:

  • \a    Any alphabetic character.
  • \A   Not an alphabetic character.
  • \c    Any character which is not alphanumeric or a whitespace character.
  • \C   Any alphanumeric or whitespace character.
  • \n    Any numeric character.
  • \N   Not a numeric character.
  • \s    Any alphanumeric character.
  • \S   Not an alhpanumeric character.
  • .     Any single character.
  • *    Any characters.
Search in includes Search in all include libraries.
Search in application Search in the entire application.
Search in current selection Search only in the current user selction.
Search in current view Search only in the actual application view (selected by a click to an item in the tree view).
Search in item properties Search also in the item properties..
Search in current view Show the path to a found item (e.g. [frmMai][tblMain]...)..
Starts searching


The Result dialog page:
<Top of page>

On the dialog page Result the search result will be displayed. A click to an result item will mark the corresponding row in the outliner.

The following actions can be initiated by clicking on a button in the button bar on the right:

The dialog can be fixed. If the dialog is not fixed, it is minimized (only the title bar is visible) when the mouse leaves the window, and expands again as soon as the mouse cursor is moved over the title bar. This behaviour is disabled in the fixed state. The button is available on each dialog page.
Edit
A click on this button clears the result window..
Returns in runtime mode to the current outline row.

The Options dialog page
<Top of page>

The following settings are possible:

Display EasyDebug on break
  This option must be selected if the Debug dialog is to be displayed when stopping on a breakpoint.
Show only valid values
  Only the valid values are shown. If the scope of a variable is exceeded, it no longer contains a calculable value. The variable is deleted from the Debug list if this option is selected. Otherwise an error code is displayed instead of the contents.
Display EasyDebug in design-mode
  This option must be selected if the Debug dialog is to be displayed in design mode.
Display EasyDebug in run-mode
  This option must be selected if the Debug dialog is to be displayed in run mode.
External editor path
  The editor defined here is opened by clicking on the 'E' button on the Variables page. The default setting is 'notepad.exe'.
Max. number of variables
  The number of displayed variables can be restricted using this option. If the predefined maximum number of variables is exceeded, the oldest variables to have been added or edited are removed.
Max. number of history items
  Max. number of elements shown in the dialogpage Goto.
Sort Variables
  This option is used to define whether the variables on the Variables dialog page should be shown sorted or unsorted.
Evaluate functions
 

When displaying tooltips marked functions will be evaluated. Attention: The functions will be executed and may cause errors (example: a marked SqlPrepare will throw an error, if the corresponding SqlConnect was not executed).

Debug Tooltips
  Shows tool tips with the variable contents when clicking on a variable (from Version CTD 1.5.1 PTF 4 / CTD 2000, otherwise disabled).
Clear variables in design mode
  When changing from run in design mode the variable list will be deleted.
Show functions
  Show not only variables, but also functions in the variable tab. The functions will not be evaluated.
Suppress system symbols
  If this checkbox is checked all system variables and constants are shown in the variable and actual variable tabs additional to user defined symbols.


Debug tool tips for CTD 2000
<Top of page>

As of version CTD1.5.1 (PTF 4) a variable can now be marked in the outliner in Debug mode. Variable contents of the are shown in a tool tip if available.