About Debugging Applications

This section describes how you can debug running applications by using ATEasy commands and tools. It contains the following topics.

 

Topic

Description

Debug Log

Sends debugging messages to their own window.

Debug Window

Tests code without having to insert it into the current program.

Doit

Executes a selected portion of code.

Loopit

Executes a selected portion of code repeatedly.

Taskit

Executes a selected task.

Testit

Executes a selected test.

Programit

Execute the current program.

Formit

Execute a selected form.

Globals and Call Stack Window

Inspects the values of global and local variables during a pause in execution; examines the stack of subroutines called at a given point in the program. This window also shows the last values after execution.

Setting Breakpoints

Marks places in the program where execution will be halted.

Code View

During Pause in the code view, you can view value of each variables of code by setting the cursor on top of variables.

Status Bar

A place to view program status such as whether the program is running or paused, the task and test being executed, and more.

Stepping Over, Into and Out

Alters the flow of a paused program in executing or ignoring subroutines.

Watch Window

A window used to view or selected variables and expressions values. The last values will be shown after execution.

Variable Window

During Pause, you can inspect each variable value on Variable Window by selecting it.  The value will be display in a tooltip window.

Display Variable Formats While Debugging

How variables values are displayed, for integers how to display their hexadecimal values. Also explain about where you can see variables values and the Watch Visualizer window.