3

Has anybody used Visual Studio 2012 to debug a stored procedure?

I am trying to do so. I have opened the view Server Explorer and created new connection to the database and selected my database.

Now if I go the stored procedure that I want to debug and right click I can't see the option Step into stored procedure! It should be there!

However I can put breakpoints inside the stored procedure. But if I run the code which uses that procedure the breakpoint won't get hit!

Any idea?

4

1 回答 1

11

You need to use the SQL Server Object Explorer, not the Server Explorer. Unfortunate confluence of names.

于 2012-11-06T16:13:38.297 回答