Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Debugging Stored Procedures

Posted on 2002-07-11
3
227 Views
Last Modified: 2010-05-02
Hello,

I've posed this question in the MS-SQL area and hasn't gotten any response, hopefully someone can provide an answer.  I'm trying to use the t-sql debugger in VB.  I have it set up to where I create a data link to a database on my local machine, open the stored procedures folder and right click "debug".  It pulls up the t-sql debugger window.  When I click run, a message pops up and says "The query could not be debugged due to a problem coordinating events with the server".  It then displays in the bottom window "RETURN VALUE =0", and nothing happens.  I've been struggling with this, and can't seem to find any resource for the t-sql debugger. Can someone provide me with a step-by-step resource on how to debug stored procedures using the t-sql debugger in VB or in SQL Server Query Analyzer.  Also, are there any free products out there that will debug stored procedures and/or triggers

Thanks
0
Comment
Question by:tinman1412
3 Comments
 
LVL 2

Accepted Solution

by:
vbDoc earned 50 total points
ID: 7146421
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 7146868
I don't knwo if this helps, but when I used to work with SQL*Server stored procedures, I just added messages along the way to ensure that it reached certain points in the st-proc.  This is not the best way but is easy.
0
 

Author Comment

by:tinman1412
ID: 7146952
Yes, I've been using the print statements, but when you have a good size stored procedure or trigger, it can be a pain
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question