Skip to main content

Debugging an MVBasic Routine in Studio

To debug your MVBasic routine in Studio, do the following:

  1. Set a Debug target: Click Debug–>Debug Target on the Studio menu bar. On the dialog, enter the name of the target. The name of the target is the name of the routine preceded by a ^. For example, if the name of your routine is DISPLAY.ONE.mvb, the name of the debugging target is ^DISPLAY.ONE.

    generated description: debugtarget 20142

  2. Add a breakpoint: Highlight a line of code and then click Debug–>Breakpoints–>Toggle Breakpoint on the Studio menu bar.

    generated description: studioaddbreakpoint 20142

  3. Begin debugging: Click Debug–>Go on the Studio menu bar. The debugger begins executing the routine and pauses at the breakpoint. The bottom pane shows output from the routine. You can enter in the names of watch variables in the center pane:

    generated description: studioruntobreakpoint 20142

  4. Continue debugging by choosing an action: Click Debug and then click on an action for the debugger.

    generated description: studiocontinuedebugging 20142

Note:

To learn more about the Studio Debugger, read Using the Studio Debugger in Using Studio.

FeedbackOpens in a new tab