About Starting the Debugger

The advantage of the debugger being an integrated part of the Builder is that the debugger runs in a separate process from the runtime process. This separation enables you to invoke the debugger by using two methods:

Launching

When you are designing and testing your modules in the Builder, you can invoke the debugger by running your module in debug mode. First, click Run Form Debug on the toolbar.

Attaching to a Form running outside the builder

The advantage of attaching the debugger to a Form that runs outside of the Builder is that the Form can be running on a different machine other than the one debugging it. The configuration gives an end user the opportunity to run the Form and encounter errors while the developer debugs interactively with the user.

To start debugging a Form that runs outside the Builder, the Form must be invoked with the parameter Debug=yes passed in the URL. This parameter will invoke a dialog that displays the host name and port number.

In the Forms Builder, open the FMB for the running Form, and select Debug | Attach Debug. You'll need to supply the host name and port number to start debugging the running Form.


Starting the Debugger by Launching

Starting the Debugger by Attaching