I am trying to debug a stored procedure with in my application.
What I did to do so:
- Create a connection in server explorer
- Select the stored procedure
- Apply break points to the stored procedure
- Apply break points to my code, where I am calling this stored procedure.
"The break point will currently be hit. Unable to bind SQL breakpoint at this time. object containing the break point not loaded"
and the following message in the OUT PUT window of IDE.
The program '[3012] WebDev.WebServer.EXE: Managed' has exited with code 0 (0x0).
The program '[3012] WebDev.WebServer.EXE: T-SQL' has exited with code 0 (0x0).
Pls, help me to sort out this issue.
I want to debug my stored procedure.
Thanks in advance,
Junior
dilipv vishwakarmaPosted Mar 3, 2008, 8:04 AM
There is problem with Microsoft. Microsoft Support that have a resolution for
this. Try running through this solution to see if it works for you.
execute the following stored procedure: "exec sp_sdidebug 'legacy_on'"
If it won't work for you, then just try the given links.
817178 - INFO: Troubleshooting Tips for T-SQL Debugger in Visual Studio .NET
http://support.microsoft.com/?id=817178
316549 - HOW TO: Debug Stored Procedures in Visual Studio .NET
http://support.microsoft.com/?id=316549
Hope this will help you.
Thanks & Regards
Dilipv
Programmer
SharePoint Consulting