SQL Server Debugging: "Unable to Step. Invalid operation"

by CJM   Last Updated February 19, 2017 06:00 AM

I'm debugging a call to a Stored Procedure in SSMS (2012). Frequently, and various random points in the code, a dialog pops up:

Microsoft SQL Server Management Studio:
Unable to Step. Invalid Operation.

Once I dismiss the dialog, it appears that debugging CAN continue... I can continue to step through the code to the end, without any apparent problems. So far....

Answers 1

I had the same problem. After some searching I found this page which suggest that this caused by a race condition. Although the workaround given there wasn't applicable for me, after stopping every other debugging process (Visual Studio) these annoying error messages didn't show up anymore.

July 04, 2014 10:17 AM

Related Questions

Restore incorrect syntax near 'dbname'

Updated March 08, 2018 16:00 PM

Fiddler doesn't work on Windows Server 2012

Updated July 20, 2017 08:00 AM

Can't connect to remote mssql server

Updated April 20, 2015 10:00 AM