Starting the Debugger by Attaching

To start the debugger by attaching:

  1. Run the application with DEBUG=YES. You can pass DEBUG=YES as a parameter in the URL.
    A message box opens and displays the host name and port number information.
  2. In the Builder, choose Debug | Attach Debug to display the Attach Debug dialog box.
  3. In the Host Name text box, type the name of the machine that is running the application.
  4. In the Port Number text box, type the port number the application is using to communicate to the debugger session.
  5. Click OK.
  6. On the server (or in the browser), click OK to close the message box.
    Closing the message box starts the Forms Server in debug mode.
  7. In the Builder, click Pause to suspend the application.
    The Debug console appears.
  8. In the Builder, click Step Into to start debugging.
  9. Click Stop to go out of debug mode.

Note: Unless a breakpoint is reached, the runform process starts up in a running state.


About Starting the Debugger

Creating a Breakpoint

Starting the Debugger by Launching

Stepping through Code

Terminating a Debugger Session