Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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....

share|improve this question
Did you ever find a solution to this? – IanW Mar 28 '13 at 18:23
@IanW I'm afraid I didn't find a solution at the time, and I've actually moved on from that role now. – CJM Mar 28 '13 at 18:57

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.