October 25, 2007 at 11:17 pm
Hi,
When i try to debug/ step into an SP in Sql 2k i am not able to step through the SP code.I have rights to execute sp_sdidebug in my DB.
What else should i possibly check?
October 26, 2007 at 11:09 pm
What happens when you try to step through?
October 28, 2007 at 11:24 pm
I supply the values when the SP is in debug mode and then when i execute the SP with breakpoints it just returns a null resultset with column headers alone...It does'nt hit the breakpoint...
October 28, 2007 at 11:36 pm
Hi
Is the break point inside some condition?
"Keep Trying"
October 28, 2007 at 11:40 pm
I have put it on an IF loop...also tried putting it on a Select @var=" so and so"" statement.
October 30, 2007 at 12:00 am
HI
When u debug are u stepping into the IF loop?
Put the break point before the IF loop just to check.
"Keep Trying"
October 30, 2007 at 3:01 am
Nope..Still no luck....BTW what are the statements on which i can place a breakpoint??
October 30, 2007 at 3:11 am
are you trying to debug on a local instance or a remote one? sometimes you need more configuration to achieve the latter.
October 30, 2007 at 3:24 am
On a remote server...but my log in id has accees to SP_Sdidebug
October 30, 2007 at 3:31 am
try out these links...Thought this might be useful to you.....
http://www.15seconds.com/issue/050106.htm
searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1197403,00.html
http://www.thescripts.com/forum/thread711362.html
http://www.ftponline.com/vsm/2002_11/magazine/columns/databasedesign/
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/DTS/Q_22683964.html
http://www.codeproject.com/useritems/Debug_SQL_Procedure.asp
October 30, 2007 at 7:07 am
Hi,
Thanks for your help...
when i went through the last link (from code project) they had told us to execute sp_sdidebug 'LEGACY_ON' and when i did that and tried to step into the SP once again i get this error now....
Server: Msg 508, Level 16, State 1, Procedure sp_sdidebug, Line 1
[Microsoft][ODBC SQL Server Driver][SQL Server]Unable to connect to debugger on server (Error = 0x800401f3). Ensure that client-side components, such as SQLLE.DLL, are installed and registered on your computer.
Debugging disabled for connection 59.
what could this be due to?
November 13, 2007 at 12:29 am
It may be necessary to verify that you client and remote server are using the same version. I used to have the same problem until I updated my client version.
November 13, 2007 at 12:39 am
vaidyanathan_kalyanasundaram (10/30/2007)
On a remote server...but my log in id has accees to SP_Sdidebug
I can't find any documention to support my thought on this, but don't you need to have "SA" privs to use the debugger??
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2007 at 1:17 am
Hi ,
By same version you mean the clent&server need to have the same service packs??
November 13, 2007 at 7:30 am
Well just make sure that you are using the same versions of the software... SQL Server management studio for SQLServer 2005. and so on and so on for 2000.
And make sure you have the latest SQLServer service packs on your desktop for the client software.
Viewing 15 posts - 1 through 15 (of 16 total)
You must be logged in to reply to this topic. Login to reply