Starting the debugger

After defining breakpoints, you can run your test procedure through the debugger.

  1. Press F4 on your keyboard. Alternatively, select Execution > Debug > Go from the menu.

  2. In the Debug Test dialog box, click the Debug button.

    TestArchitect provides buttons in the toolbar for controlling the execution of the action lines you are debugging. Typically it is easier to use the corresponding shortcut keys to control this execution. Use the Shift + F5, Shift + F6 and Shift + F7 keys to step through your lines. The functions of these keys are explained in the following table.

    KeyDescriptionKeyboard shortcuts
    DebugClick this button to run the test module in debug mode. Execution is paused at the next breakpoint, if any exists.N/A
    PausePause the test execution.N/A
    StopTerminate the test execution.N/A
    Toggle BreakpointInsert or remove a breakpoint.Ctrl + Alt + B
    Step OverExecute an action (or a “run test” test module) and break on the next line in the current test module or action definition. Even if the action is defined with a user-created action definition, do not break until execution returns from that action.Shift + F6
    Step IntoIf the current action line calls a test module or an action definition, pause at the first action line inside the test module/action.Shift + F5
    Step OutExecute all remaining action lines within the current test module/action. Do not break until control returns to the next action line of the calling test module or action definition (if it exists).Shift + F7
    Call StackDisplay the current call stack. The call stack shows all levels of actions/test modules which are currently being executed and how they relate to each other.N/A
    Debug InformationDisplay the result window.N/A

    The screenshot below displays a test module in debug mode.

    Notes: 
    • The red dots in the row headers specify where breakpoints have been set.
    • The yellow arrow in the row header indicates the point at which execution is currently paused.
    • The Debug Information view allows you to manage the debugging of an automated test. This view contains four tabs of information:
      • Result: Presents the results of executed action lines preceding the current breakpoint.
      • Settings: Displays all the settings explicitly used by the test, and their values.
      • Local: Displays all defined local variables visible at the breakpoint. All duplicate local variables are also displayed, along with their scopes. The first column in the grid view shows the names of the variables. The second column indicates where the variables are declared. The third column displays the values of the variables.
      • Global: Shows global variables that exist up to the breakpoint. The first column in the grid view shows the names of the global variables. The second column displays the values of the variables.
  3. In the Debug view, suppose that you want to go to next line. Press Shift + F6 on your keyboard (Step Over command). The currently-selected line (#46 in the displayed example) is executed and the test is again suspends on the next line (#47). Notice that, even though line #46 is never stepped into by the debugger, the action in that line is executed normally.


Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333