Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 1st, 2005, 04:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default configure SP debugging in SQL Server via VS.Net

I'm using VS.Net and have been told that I can use it to debug my stored procedures in SQL Server 2000. I've had a look on google and MSDN with not much luck, can someone show me how to do this from scratch ?
__________________
All the best

Greg
------------------
Greg Griffiths
Web & Livelink Developer
http://www.greggriffiths.org
Reply With Quote
  #2 (permalink)  
Old March 2nd, 2005, 03:07 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Greg,

Don't you know how to set it up, or can't you get it to work?

I know there are some issues with debugging, but in the past I managed to get it to work. I used the following MSDN section as a guideline:

http://msdn.microsoft.com/library/de...asp?frame=true

What's important is that you run Remote Components Setup, even on a local work station (at least, that's what the docs seem to say).

Next, it's important that you enable debugging in your Project's properties dialog and that you set a breakpoint in managed code; if your first breakpoint is in a stored procedure, your code won't break.

Finally, you may need this:

http://support.microsoft.com/?kbid=328151

I needed that in the past to enable debugging; I think that managed code debugging falls under the category "Application Debugging", so you'll need to run the stored procedure they mentioned after each reboot.

Good luck; it's a pain to set up, but a wonderful feature once it works....

(Update: try the support article and "Exec sp_sdidebug 'legacy_on'" first; I just tested it, and it seemed enough to get it to work again on my machine. I looked at my installed programs and didn't see the Remote Debugging Components, so I am not sure you need those)

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Seven Nation Army by The White Stripes (Track 1 from the album: Elephant) What's This?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sql server debugging wendy elizabeth SQL Server 2000 0 June 28th, 2007 08:45 PM
SQL Server 2005, SP 2 Install Problems kwilliams SQL Server 2005 1 December 1st, 2006 04:12 PM
Configure SQL Server to TCP/IP Sappu SQL Server ASP 1 March 19th, 2005 09:03 PM
Configure SQL Server to TCP/IP Sappu SQL Server ASP 1 March 19th, 2005 08:57 PM
configure jboos server sivapmk J2EE 2 August 9th, 2004 07:36 AM



All times are GMT -4. The time now is 07:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.