Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Show Contents List
You are here: Visual LANSA User Guide > 6. Debugging Applications > 6.1 Start Debugging

...

You can start the debug of a compiled LANSA program using one of the following:

  • The Debug command in the ribbon:

Image RemovedImage Added

When the object to be debugged is executed, it is opened in the editor. If no breakpoints are set, the debug session immediately stops at the first executable line so you can set breakpoints or start stepping through the code. Image Removed

Image Added

By default, lines with enabled breakpoints are shown in red and the active debug line is shown in yellow.

Disabled breakpoints are shown in gray.

Debugger Commands

Image Removed

Image Added

Continue execution of the program (F5).

Image Removed

Image Added

The program execution in debug is cancelled.

Image Removed

IconStepIntoImage Added

Step Into (F8). Refer to 6.5 Run Parts of the Application.

Image Removed

IconStepOverImage Added

Step Over (Shift + F8). Refer to 6.5 Run Parts of the Application.

Image Removed

IconStepOutOfImage Added

Go back to the calling procedure. Refer to 6.5 Run Parts of the Application.

Image Removed

IconRunImage Added

Execute the program and break at the current cursor line even if not marked as a breakpoint. Note: All breakpoints before the cursor line will be used.

Image Removed

Image Added

Insert a breakpoint on the selected line, or if a breakpoint already exists, remove it from the line.

Image Removed

Image Added

Clear all breakpoints.

Image Removed

Image Added

Disable all breakpoints.

Image Removed

Image Added

Animate. See 6.7 Animate Application Execution.

 
6. Debugging Applications
Show Contents List