Search code examples
sql-servervisual-studiodebuggingremote-debuggingvisual-studio-debugging

Why aren't my breakpoints hitting SQL In Visual Studio 2019 debugging script from network server


So I am unfortunate enough to work in an organization who uses SSMS18, meaning I don't have the built-in debugger for SSMS. I am relegated to using VS2019 Professional to set break points and step through stored procedures. No Biggie, right?

Well when I select "Execute with Debugger" (can't see the selection in GIF for some reason) it loads then executes and never hits my breakpoint.

I followed these posts below to no avail.
How to debug stored procedure in VS 2015? This one I could not find what he was describing in step 6, but I debugged a SQL-Query in VS2019 before, but that was a local instance and not a remote server like it is in this case.


Cannot execute breakpoint inside stored procedure from VS 2017

below is a gif of what is happening Me attempting to debug

Any and all help is greatly appreciated.


Solution

  • Download and Install a version of SSMS < version 18. Then you will be able to debug.