Windows desktop

Step through your SQL Server stored procedures.
See every variable on the way.

Step through SQL Server stored procedures and functions, with breakpoints, watches and the variables in view.

DownloadPricingWhat it does
SQLTreeo T-SQL Debugger paused in a stored procedure: the code with a breakpoint and the yellow arrow on the next statement, the Object Explorer with the databases, and the variables with their values

The debugger paused in dbo.i_ProcessItems: the arrow shows the next statement, the Variables pane the values. The screenshots on this page show sample data.

In motion

One statement at a time

A stored procedure paused at a breakpoint, then stepped, watched, queried and retried.

Why

A debugger for the procedures you already have

Step through a stored procedure one statement at a time, on the same connection the procedure runs on, and see what each statement does to the data.

Find the statement that went wrong

Step into, over and out of a procedure, the procedures it calls and its scalar functions. A breakpoint stops at the statement you choose, also with a condition such as @ItemId = 4.

See the values as they change

Parameters, variables, table variables and @@ROWCOUNT in view, with what changed since the last stop in red. Watches keep the few variables you follow in front of you.

Fix it and go on

An error can pause the run before anything reacts to it. Fix the data or the code and retry, or go back to BEGIN TRAN and try again.

The debugger at a statement of a stored procedure, with the yellow arrow and the variables of the procedure

Step through the code, with the variables in view

Pick a procedure or a function in the Object Explorer and press Debug, or use the right-click menu. Its call is written for you, the run starts in its database, and you press Start or step with Into, Over and Out.

While the run goes on, the arrow moves through the code and the variables follow it. A slow speed lets you watch every statement.

A breakpoint in the batch that calls a stored procedure, with the debugger paused at it

Breakpoints in the procedure and in the batch

Click left of a line, or press F9, in a procedure or in the batch that calls it. A breakpoint on a line without a statement moves to the next statement, and it moves with its line when you add or remove lines above it.

Give a breakpoint a condition in the Breakpoints tab, so it stops only when the condition is true.

The Watches tab with a variable, its value and the change since the last stop

Watches for the variables you follow

With dozens of variables, you want a few in view. Right-click a variable in the Variables pane and choose Add to watches. A changed value is red, and a watch can pause the debugger when its variable changes.

The query window running a query while the procedure is paused, with its results and messages

Query the paused connection

The query window runs T-SQL on the connection the procedure runs on, in the procedure you select in the call stack. Its variables, table variables, temporary tables and the open transaction are all there.

The debugger paused on an error, with the message, the line and the buttons to retry, skip or continue as SQL Server would

Errors pause the run, and you decide what happens next

When a statement fails, the run pauses before anything reacts to the error. Fix the data in the query window or the code, then retry the statement, skip it, or let the error take its course as SQL Server would.

A transaction can be taken back to BEGIN TRAN with its variables, so you can try the same run again.

Where it runs

SQL Server and Azure SQL Database

Connect to SQL Server on your own computer, on a server in your network, in a virtual machine or in the cloud, and to Azure SQL Database. Nothing is installed on the server: the debugger reads the procedure and sends each statement over your normal connection. Sign in with Windows or SQL Server authentication, or with Microsoft Entra ID for Azure SQL Database. Tested on SQL Server 2025 and on Azure SQL Database.

Windows desktop application

Windows 10 or 11, 64-bit. The installer updates itself; a portable zip and a single file run without installing.

Your procedures stay with you

The debugger runs the statements on your own connection. Procedures, table data and connection details are not sent to SQLTreeo.

Free to try

A 30-day trial starts at the first start, with every feature. After it, the debugger stays a viewer until you enter a license key.

A debug session runs your procedures for real, on the connection you chose. Use a test database when you are not sure what a procedure changes; the debugger does not undo changes the procedure has made before you stop it, except a transaction it can roll back.
Pricing plan

Free to try, a license key to debug

30% off

Limited offer: buy any 3 different SQLTreeo products in one checkout and take 30% off.Ends November 30, 2026

Choose your 3

30-day trial

Free
30 days, every feature
  • Starts by itself at the first start: step through, breakpoints, watches and errors
  • After the trial, opening procedures, reading their code and the query window stay free
  • A debug session needs a license key
Download

Named user license

$99
per named user, for 1 year
  • Debug sessions, breakpoints, watches and changes while a run goes on
  • One person, up to three computers
  • Updates published during the term
Buy now

A license key is for one person, on up to three computers. The key keeps working for 30 days without a connection to the license service.

Ready to step through your first procedure?

Download SQLTreeo T-SQL Debugger and start a 30-day trial. Pick a procedure, press Debug, and see what it does, one statement at a time.