Debugger error: Unable to Step. The operation could not be completed...<p align=left><span style="font-size:12pt;font-family:'Times New Roman'">Hello, all -</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">When stepping through code, I am getting the following error:</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"><font color="#ff0000"><strong>Unable to step.  The operation could not be completed.  A retry should be performed</strong></font>.</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"></span> </p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">After clicking OK, the following message displays:</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"><font color="#ff0000"><strong>The debugger cannot continue running the process.  The operation could not be completed.  A retry should be performed.</strong></font></span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"></span> </p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">The problem is sporadic, but it is happening to several developers on the team with alarming frequency (several times per hour).  Any suggestions on how to troubleshoot this issue ? </span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"></span> </p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">Thanks in advance for your help!</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"></span> </p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">Denise</span></p>© 2009 Microsoft Corporation. All rights reserved.Mon, 06 Jul 2009 16:25:48 Z2320a943-d52d-437a-abec-6f1e9f929b52http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#2320a943-d52d-437a-abec-6f1e9f929b52http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#2320a943-d52d-437a-abec-6f1e9f929b52dnisee01http://social.msdn.microsoft.com/Profile/en-US/?user=dnisee01Debugger error: Unable to Step. The operation could not be completed...<p align=left><span style="font-size:12pt;font-family:'Times New Roman'">Hello, all -</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">When stepping through code, I am getting the following error:</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"><font color="#ff0000"><strong>Unable to step.  The operation could not be completed.  A retry should be performed</strong></font>.</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"></span> </p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">After clicking OK, the following message displays:</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"><font color="#ff0000"><strong>The debugger cannot continue running the process.  The operation could not be completed.  A retry should be performed.</strong></font></span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"></span> </p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">The problem is sporadic, but it is happening to several developers on the team with alarming frequency (several times per hour).  Any suggestions on how to troubleshoot this issue ? </span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"></span> </p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">Thanks in advance for your help!</span></p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'"></span> </p> <p align=left><span style="font-size:12pt;font-family:'Times New Roman'">Denise</span></p>Wed, 16 Apr 2008 15:52:43 Z2008-05-15T17:02:22Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#f571cd2e-e04f-4feb-9376-39a8a798bf31http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#f571cd2e-e04f-4feb-9376-39a8a798bf31Will Buchananhttp://social.msdn.microsoft.com/Profile/en-US/?user=Will%20BuchananDebugger error: Unable to Step. The operation could not be completed...<p align=left><font face=Arial size=2></font> </p> <p>I've just started getting this error. Don't know why it just suddenly started happening!!! </p> <p align=left> </p> <p align=left>Did you make any progress on it?</p>Tue, 29 Apr 2008 01:15:31 Z2008-04-29T01:15:31Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#82f2e6a7-48ce-497d-ba23-4082a4173a7chttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#82f2e6a7-48ce-497d-ba23-4082a4173a7cdnisee01http://social.msdn.microsoft.com/Profile/en-US/?user=dnisee01Debugger error: Unable to Step. The operation could not be completed...<p align=left><font face=Arial size=2>Hello, Will - </font></p> <p align=left><font face=Arial size=2>I'm afraid we haven't made much progress.  We opened a ticket with Microsoft, and their advice was to check in changes and get latest more often. This seemed to help a little but the error still occurs.  </font></p> <p align=left><font face=Arial size=2></font> </p> <p align=left><font face=Arial size=2>Needless to say, I am completely baffled why being in synch with vss would make a difference.  The Microsoft tech wasn't able to explain this either. </font></p> <p align=left><font face=Arial size=2></font> </p> <p align=left>Will let you know what else we find...</p> <p align=left> </p> <p align=left>Denise </p>Tue, 29 Apr 2008 13:20:03 Z2008-04-29T13:20:03Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#6ad073bd-883e-42f7-b6df-8117b1770d9dhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#6ad073bd-883e-42f7-b6df-8117b1770d9dGSchiffhttp://social.msdn.microsoft.com/Profile/en-US/?user=GSchiffDebugger error: Unable to Step. The operation could not be completed...I, too, have begun seeing this error while debugging in Visual Studio 2008.<br><br>So far, it has been limited to times when using an asynchronous call, or this is the only time I have noticed it (however, I can't imagine not noticing it happening).<br><br>Has any progress been made with this error?  I have been unable to pin-point anything specifically at this time.<br><br><br>Wed, 30 Apr 2008 19:59:24 Z2008-04-30T19:59:24Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#d1a50f18-53d2-42d5-8405-179bcd92680bhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#d1a50f18-53d2-42d5-8405-179bcd92680bSayed Ibrahim Hashimihttp://social.msdn.microsoft.com/Profile/en-US/?user=Sayed%20Ibrahim%20HashimiDebugger error: Unable to Step. The operation could not be completed...<font size=2><span style="font-family:Arial">Hi,<br>Several people on my team are also started getting this. We just switched to VS 2008, not sure if that is related or not. Has anyone figured anything out about this?<br><br>Sayed Ibrahim Hashimi<br><a title="http://www.sedodream.com" href="http://www.sedodream.com">www.sedodream.com</a><br><br></span></font>Wed, 07 May 2008 14:41:25 Z2008-05-07T14:41:25Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#985b6d1f-ef46-498b-bd68-c0e0348692e1http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#985b6d1f-ef46-498b-bd68-c0e0348692e1Gregg Miskellyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Gregg%20MiskellyDebugger error: Unable to Step. The operation could not be completed...<p align=left>I have been investigating this issue with one customer. I haven't yet gotten to bottom of this.</p> <p align=left> </p> <p align=left>Gregg</p>Wed, 07 May 2008 21:59:34 Z2008-05-07T21:59:34Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#e5520c1d-2382-46f8-9cca-8313c05add4ahttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#e5520c1d-2382-46f8-9cca-8313c05add4aSayed Ibrahim Hashimihttp://social.msdn.microsoft.com/Profile/en-US/?user=Sayed%20Ibrahim%20HashimiDebugger error: Unable to Step. The operation could not be completed...<font size=2><span style="font-family:Arial">I disabled debugging script from IE, and it seems to work better. Haven't tested it too much yet, but seems to work thus far. I'm using IE 7 BTW.<br><br>Sayed Ibrahim Hashimi<br><a title="http://www.sedodream.com" href="http://www.sedodream.com">www.sedodream.com</a><br></span></font>Thu, 08 May 2008 00:19:24 Z2008-05-08T00:19:24Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#e1c53772-23b5-488e-a1de-a02301e6bdf8http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#e1c53772-23b5-488e-a1de-a02301e6bdf8Sayed Ibrahim Hashimihttp://social.msdn.microsoft.com/Profile/en-US/?user=Sayed%20Ibrahim%20HashimiDebugger error: Unable to Step. The operation could not be completed...<p align=left><font face=Arial size=2>Hi,</font></p> <p>I disabled debugging script from IE, and it seems to work better. Haven't tested it too much yet, but seems to work thus far. </p> <p align=left>I'm using IE 7 BTW.</p> <p align=left> </p> <p>Sayed Ibrahim Hashimi<br><a title="http://www.sedodream.com" href="http://www.sedodream.com">www.sedodream.com</a></p>Thu, 08 May 2008 00:20:53 Z2008-05-08T00:20:53Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#ac44e732-f7b1-420d-ae60-843f2c479494http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#ac44e732-f7b1-420d-ae60-843f2c479494Jon Stewarthttp://social.msdn.microsoft.com/Profile/en-US/?user=Jon%20StewartDebugger error: Unable to Step. The operation could not be completed...<p align=left><font face=Arial size=2>This has been happening for a while under VS2008.  Looking forward to the solution.</font></p>Fri, 09 May 2008 15:44:27 Z2008-05-09T15:44:27Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#6c5838bd-c794-48a0-9e06-859fd44ce11bhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#6c5838bd-c794-48a0-9e06-859fd44ce11bPeter Ritchiehttp://social.msdn.microsoft.com/Profile/en-US/?user=Peter%20RitchieDebugger error: Unable to Step. The operation could not be completed...<p align=left><font face=Arial size=2>How many people who are having this problem are also setup to debug into the .NET source code?</font></p>Tue, 13 May 2008 19:02:04 Z2008-05-13T19:02:04Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#dbb7305b-b914-43ab-ab31-a0b9851c9fabhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#dbb7305b-b914-43ab-ab31-a0b9851c9fabSayed Ibrahim Hashimihttp://social.msdn.microsoft.com/Profile/en-US/?user=Sayed%20Ibrahim%20HashimiDebugger error: Unable to Step. The operation could not be completed...<font size=2><span style="font-family:Arial">I am not setup on this machine for stepping into .NET source.<br><br><br>Sayed Ibrahim Hashimi<br><a title="http://www.sedodream.com" href="http://www.sedodream.com">www.sedodream.com</a><br></span></font>Tue, 13 May 2008 19:47:06 Z2008-05-13T19:47:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#c3f28ffc-09e4-40aa-9dde-224cdf57014dhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#c3f28ffc-09e4-40aa-9dde-224cdf57014dGregg Miskellyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Gregg%20MiskellyDebugger error: Unable to Step. The operation could not be completed...<p align=left>Thanks to the help of one <em>extremely</em> helpful customer, I was able to identify the problem last night. This is a bug in the debugger. There is a race condition that happens when all of the following are true:</p> <ol> <li> <div align=left>Script debugging is enabled in IE</div> <li> <div align=left>User is debugging IE and another process</div> <li> <div align=left>The other process stops (hits breakpoint, step operation completes, stops at an exception, etc) at a moment when IE is not running script code</div> <li> <div align=left>IE starts running script code at roughly the same moment that the user hits F10/F5 in Visual Studio. The most likely reason for this to happen is that the code from 'setTimeout' is run, but I am not a JScript expert, so I am sure there are other possible reasons as well.</div></li></ol> <p align=left>Now that we have finally found the cause, we are going to work on getting a fix into future versions of Visual Studio. I will try my hardest to get this into Visual Studio 2008 SP1.</p> <p align=left> </p> <p align=left>In the mean time, there are a couple of work arounds which you can try:</p> <p align=left>1. If you hit this problem, I believe you could detach the debugger and then re-attach.</p> <p align=left>-or-<br>2. This problem happens when debugging ASP.NET and when script debugging is enabled in IE. If you disable script debugging in IE, or toggle it on and off when switching between debugger server-side and client-side problems, you would be able to work around the issue.</p> <p align=left>-or-<br>3. If your web application is using setTimeout, you may be able to avoid or at least reduce the problem by doing something to ensure that script runs less often. This could mean increasing the timeout value, or this could mean adding conditions around when setTimeout is used.</p> <p> </p> <p align=left>Thanks to everyone's help and we are sorry that you are experiencing this issue,</p> <p align=left>Gregg</p>Thu, 15 May 2008 17:02:05 Z2008-05-15T17:02:22Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#dca51ceb-77ac-47de-90ae-8b6e16ede224http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#dca51ceb-77ac-47de-90ae-8b6e16ede224RicknBhttp://social.msdn.microsoft.com/Profile/en-US/?user=RicknBDebugger error: Unable to Step. The operation could not be completed...Thanks for the hint! I enabled 'Just my Code' and it's working again. Wed, 01 Oct 2008 13:13:13 Z2008-10-01T13:13:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#5960597c-c2e1-43ed-85b8-cef719e3a0e7http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#5960597c-c2e1-43ed-85b8-cef719e3a0e7BTabioshttp://social.msdn.microsoft.com/Profile/en-US/?user=BTabiosDebugger error: Unable to Step. The operation could not be completed...I was also experiencing this problem and after disabling script debugging everything worked again. Thanks!<p>Hopefully this issue can be fixed in a subsequent service pack.<br></p> Mon, 26 Jan 2009 22:26:52 Z2009-01-26T22:26:52Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#ce6fb6ce-f8d4-47b6-8dbb-0f5d891717f4http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52#ce6fb6ce-f8d4-47b6-8dbb-0f5d891717f4sudheer_kumarhttp://social.msdn.microsoft.com/Profile/en-US/?user=sudheer_kumarDebugger error: Unable to Step. The operation could not be completed...<p>Hi,</p> <p>I follwed all the steps which are illustrated by <strong>Gregg</strong>, really it couldn't solve the issue .In VS-2008 not only this, lot of issues are still open</p> <p>1)If ur aspx page contains lot of controls and weight morethan 400kb.while browsing  if u do any changes in design and press Ctrl+s automatically Microsoft visual studio.Net encountered a problem need to restart u will get . <strong>I can challenge this error still alive</strong></p> <p>2)Microsoft recommended  minimum 1 GB to use, but for 2GB also vs.net(2008) launching time takes more...........</p> <p>remaining i will post soon .................</p>Mon, 06 Jul 2009 16:25:47 Z2009-07-06T16:26:57Z