MultiValue Quick Start Tutorial
Debugging an MVBasic Routine in Studio
[Home] [Back] [Next]
InterSystems: The power behind what matters   

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.
  2. Add a breakpoint: Highlight a line of code and then click Debug–>Breakpoints–>Toggle Breakpoint on the Studio menu bar.
  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:
  4. Continue debugging by choosing an action: Click Debug and then click on an action for the debugger.
To learn more about the Studio Debugger, read Using the Studio Debugger in Using Studio.

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA