Versions Compared

Key

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

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 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 RemovedImage Added

Continue execution of the program (F5).

Image RemovedImage Added

The program execution in debug is cancelled.

IconStepIntoImage RemovedImage Added

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

IconStepOverImage RemovedImage Added

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

IconStepOutOfImage RemovedImage Added

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

IconRunImage RemovedImage 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 RemovedImage Added

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

Image RemovedImage Added

Clear all breakpoints.

Image RemovedImage Added

Disable all breakpoints.

Image RemovedImage Added

Animate. See 6.7 Animate Application Execution.

...

6. Debugging Applications