Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / October 2007

Tip: Looking for answers? Try searching our database.

Stored Procedure Debugging

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
A. Robinson - 03 Oct 2007 21:10 GMT
I had a couple questions on debugging SQL Server stored procedures in Visual
Studio.

I got everything configured right and I'm able to debug, but I was wondering
about the following:

1.) As soon as the procedure comes to an end, all my watches just disappear
and from what I can see, there's no way to tell the Watch Window to stay put
even after execution of the stored procedure?

2.) I have several stored procedures that call other functions / stored
procedures. When I call one of those stored procedures, the scope goes away
from the calling procedure, the called procedure runs in the background, and
then it finishes. What I don't see is the call stack / wathc window for that
called function or stored procedure. I need to see what is gonig on not just
with the "main" procedure, but whatever else may be called from that stored
procedure.

Embarcadero's Rapid SQL will actually open up another debug window if a
stored procedure is calls another function or stored procedure. Does this
functionality not exist in VS stored proc debugging? If VS dos support this,
what configuration parameters, etc. do I need to change?

Thanks!
__________________
Anthony Robinson

"If I'm curt with you, it's because time is a factor here. I think fast, I
talk fast, and I need you guys to act fast if you want to get out of this.
So, pretty please - with sugar on top..."
Stevanich - 09 Oct 2007 03:36 GMT
Anthony,

Try the microsoft.public.vsnet.debugging newsgroup for this topic.

Here's some thoughts though,
1) The watch window watches items inside the currently-executing scope.
Once the scope changes, the former watch items are no longer 'watchable'.
2) Try using F11 to 'Step Into' the executing line.

Hope this helps,

Steve - dotneticated.com

>I had a couple questions on debugging SQL Server stored procedures in
>Visual
[quoted text clipped - 36 lines]
> talk fast, and I need you guys to act fast if you want to get out of this.
> So, pretty please - with sugar on top..."

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.