Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Stored Procedure Debugging in SSMS

Author  Topic 

kond.mohan
Posting Yak Master

213 Posts

Posted - 2014-12-29 : 07:05:01
Hi,

My stored procudure has involved lot of lot of dependecies(truncation deletion,variable chagnging) during the Execution. we need to Indentify step by step execution(debugging) of Stored procedure in sql server.
Is anybody knows how to debug the Stored procedure in SSMS

vijays3
Constraint Violating Yak Guru

354 Posts

Posted - 2014-12-29 : 09:19:47
U can open query analyzer then writr

Execte <Your Procedure Name >

Then Press F9 .
Then Press Alt +F5 it will start debugging .Then Press F11 to step into next line.

Vijay is here to learn something from you guys.
Go to Top of Page

kond.mohan
Posting Yak Master

213 Posts

Posted - 2014-12-31 : 06:09:16

Hi Vijay,

thank your for your suggestions.i have applied same navigations for my proc. i could not reach the result. i has received below mentioned error
Unable to Start the Transact-SQL debugger could not connect to the DatabaseEngine
Instance 'XXXX' make sure you have enabled the debugging firewall Exceptions and are
using login that is a member of SysAdmin fixed Server role

Pls suggest the sol for the same
Go to Top of Page
   

- Advertisement -