Chat now with support
Chat with Support

Toad for SQL Server 7.2 - Installation Guide

About Debugging SQL

Use the Debugger to debug any script that contains a procedure, or function, regardless of the SQL included in the script (i.e., SELECT statements).

Note: You cannot debug CLR stored procedures.

To debug SQL

  1. See Set Up Debugging for more information..
  2. Right-click a procedure in the Object Explorer and select Debug.
  3. Set start parameters.

    Tip: You can manually set start parameters at anytime by clicking in the Debug toolbar.

Configure Debugger Options

To...

Use this Option Page...

Set an option so function calls are not evaluated when hovering the cursor over watches

Debugger | General

Select a default desktop configuration that displays when starting or ending a debugging session

Tips:

  • If you have not set a breakpoint, clicking runs the SQL script to completion without stopping.

  • If you try to run a debug script, you are prompted to set start parameters to use as an entry point, as well as provide values for any required parameters.

  

Related Topics

Troubleshoot SQL Server Debugging

Set Breakpoints

Navigate Call Stacks 

Add Watches 

View Local Watches

View Global Watches

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating