Testing and Debugging the Active Server Page Application

From RAD Studio
Jump to: navigation, search

Go Up to Creating an Active Server Page Index


Debugging any in-process server such as an Active Server Object is much like debugging a DLL. You choose a host application that loads the DLL, and debug as usual.

To test and debug an Active Server Object,

  1. Turn on debugging information using the Compiler tab on the Project > Options dialog box, if necessary. Also, turn on Integrated Debugging in the Tools > Options > Debugger Options dialog.
  2. Choose Run > Parameters, type the name of your Web Server in the Host Application box, and choose OK.
  3. Choose Run > Run.
  4. Set breakpoints in the Active Server Object implementation.
  5. Use the Web browser to interact with the Active Server Page.

The debugger pauses when the breakpoints are reached.