Home All Groups Group Topic Archive Search About

Stored procedure debugging

Author
12 Feb 2007 11:26 PM
Dave Patrick
Is there any native tools for simple step mode through a purely TSQL
procedure? I'm rather new to stored procedures. I've managed to figure this
out with query analyzer 2000 but haven't figured out what to use with SQL
Server 2005

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Author
13 Feb 2007 3:28 AM
Sue Hoegemeier
You need to use Visual Studio 2005 for T-SQL debugging.
There isn't a tool built in on the SQL Server end of things
for debugging.
In Visual Studio 2005, this should get you started:
http://msdn2.microsoft.com/en-us/library/zefbf0t6(VS.80).aspx

-Sue

On Mon, 12 Feb 2007 16:26:10 -0700, "Dave Patrick"
<DSPatrick@nospam.gmail.com> wrote:

Show quote
>Is there any native tools for simple step mode through a purely TSQL
>procedure? I'm rather new to stored procedures. I've managed to figure this
>out with query analyzer 2000 but haven't figured out what to use with SQL
>Server 2005
Author
13 Feb 2007 3:57 AM
Dave Patrick
Ok. thanks Sue. I was afraid of that. That's quite a price to pay for
debugging when it was free in the last version.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Show quote
"Sue Hoegemeier" wrote:
> You need to use Visual Studio 2005 for T-SQL debugging.
> There isn't a tool built in on the SQL Server end of things
> for debugging.
> In Visual Studio 2005, this should get you started:
> http://msdn2.microsoft.com/en-us/library/zefbf0t6(VS.80).aspx
>
> -Sue
Author
13 Feb 2007 5:04 AM
Sue Hoegemeier
Yup...leaving it out wasn't good. A lot of others agree and
it's planned for the next release:
http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=124550

-Sue

On Mon, 12 Feb 2007 20:57:19 -0700, "Dave Patrick"
<DSPatrick@nospam.gmail.com> wrote:

Show quote
>Ok. thanks Sue. I was afraid of that. That's quite a price to pay for
>debugging when it was free in the last version.
Author
13 Feb 2007 1:46 PM
Martijn Tonies
> Yup...leaving it out wasn't good. A lot of others agree and
> it's planned for the next release:
>
http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=124550

If only they published the debugging interface, third party tool developers
could jump in :(


--
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com

Show quote
> -Sue
>
> On Mon, 12 Feb 2007 20:57:19 -0700, "Dave Patrick"
> <DSPatrick@nospam.gmail.com> wrote:
>
> >Ok. thanks Sue. I was afraid of that. That's quite a price to pay for
> >debugging when it was free in the last version.
>
Author
14 Feb 2007 4:19 AM
Dave Patrick
Thanks for the link, just now voted!

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Show quote
"Sue Hoegemeier" wrote:
> Yup...leaving it out wasn't good. A lot of others agree and
> it's planned for the next release:
> http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=124550
>
> -Sue
Author
13 Feb 2007 10:48 PM
Erland Sommarskog
Dave Patrick (DSPatrick@nospam.gmail.com) writes:
> Ok. thanks Sue. I was afraid of that. That's quite a price to pay for
> debugging when it was free in the last version.

Yeah, had you only been able to get it to work!

OK, for the local server there were usually any problems. But with firewalls
everywhere and admin locking down accounts, it was about impossible to get
it to work anyway. These days, I'm using SELECT and PRINT these days to see
what is going on. You can't peek inside temp tables in the debugger. (At
least you couldn't in SQL 2000.)


--
Erland Sommarskog, SQL Server MVP, esq***@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

AddThis Social Bookmark Button