Learn more about Toad for SQL Server
at Quest.com

Find solutions and downloads at the
Toad for SQL Server Support Portal

< To bookmark a page, right-click the Page Title and select Add to Favorites / Bookmark This Page

Toad for SQL Server 5.7

You are here: Edit SQL > Debug SQL > Collect and Replay Debug Traces

Collect and Replay Debug Traces

The debug trace feature collects a complete trace of everything you do when debugging stored procedure so that you can play it back later. You can then replay the trace forwards and backwards to evaluate the execution. The replay does not affect the server; it is only a local replay.

The debug trace collects the following:

The debug trace does not collect any messages or the final return value from a function.

To collect and replay a trace

  1. Select the Collect debug trace checkbox in the Debugger Start Parameters window that displays when starting a debug session. See Set Start Parameters for more information.

    Note: This checkbox is cleared after every execution.

  2. Select a trace from the Debug Traces window. If needed, you can manually open this window from the Debug menu.
  3. Click to replay a trace.
  4. Use the toolbar to step through the trace.

Tips: 

  

Related Topics