Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging a stored proc

Status
Not open for further replies.

danvlas

Programmer
Jul 30, 2002
2,446
RO
Hello All,

Is there any reason that the debugger in QA is disabled?
I'm trying to use it, all the buttons show up, but only 'Go', 'Toggle breakpoint' and 'Remove All Breakpoints' are active.
'Step Into', 'Step Over', 'Step Out' and 'Run to Cursor' are disabled.

Any suggestions are highly appreciated.

TIA



[pipe]
Daniel Vlas
Systems Consultant

 
In Query Analyzer? Or are you using Visual Studio with it's debugger? If so, you may want to try the Visual InterDev forum for VS 6 or one of the .NET forums (depending on which one you need).

------------------------------------------------------------------------------------------------------------------------
"Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."
- Winston Churchill
 

if you go to the bottom there is a refernce to an article that talks about how to get the debugger to work. Me personally I find the debugger essentially worthless (it just is a bad implementation of a debugger). Your mileage may vary.

"NOTHING is more important in a database than integrity." ESquared
 
Not sure if this will help or not... I'm learning this myself today... :)

------------------------------------------------------------------------------------------------------------------------
"Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."
- Winston Churchill
 
Something to try, it may be in the links posted, is running sp_sdidebug 'legacy_on' where you are trying to debug.

The debugger is turned off by default. Then you may get into access issues. We also had to apply service pack 4 (I think that was it) to get it going.

After a number of mis-steps we got it working. I disagree with it being " essentially worthless". It's much better then print staements and also steps into triggers. You don't see that just looking at the code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top