Why Debugger won't let me edit and continueOkay,<br/> <br/> So, i've been debugging with VS for some time now, and when I have two projects open, a DLL Class Assembly, and an EXE application, I used to be able to step into source from the DLL, and Edit and Continue in the source files for the DLL.  Now granted I was having some weird configuration glitches so I recent ran a reset settings on VS, but isn't Edit and continue default?  Why won't it allow me to edit the dll source files while debugging like it used to?<br/> <br/> Thanks<br/> Jaeden &quot;Sifo Dyas&quot; al'Raec Ruiner<hr class="sig">&quot;Never Trust a computer. Your brain is smarter than any micro-chip.&quot;© 2009 Microsoft Corporation. All rights reserved.Thu, 02 Jul 2009 17:03:42 Z38b8fe15-c76b-44f2-a3cb-730765bec137http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#38b8fe15-c76b-44f2-a3cb-730765bec137http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#38b8fe15-c76b-44f2-a3cb-730765bec137JaedenRuinerhttp://social.msdn.microsoft.com/Profile/en-US/?user=JaedenRuinerWhy Debugger won't let me edit and continueOkay,<br/> <br/> So, i've been debugging with VS for some time now, and when I have two projects open, a DLL Class Assembly, and an EXE application, I used to be able to step into source from the DLL, and Edit and Continue in the source files for the DLL.  Now granted I was having some weird configuration glitches so I recent ran a reset settings on VS, but isn't Edit and continue default?  Why won't it allow me to edit the dll source files while debugging like it used to?<br/> <br/> Thanks<br/> Jaeden &quot;Sifo Dyas&quot; al'Raec Ruiner<hr class="sig">&quot;Never Trust a computer. Your brain is smarter than any micro-chip.&quot;Mon, 08 Jun 2009 19:14:41 Z2009-06-08T19:14:41Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#b34918ce-91e3-4a0f-aecd-dd4564b80c39http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#b34918ce-91e3-4a0f-aecd-dd4564b80c39Roahn Luohttp://social.msdn.microsoft.com/Profile/en-US/?user=Roahn%20LuoWhy Debugger won't let me edit and continue<p>Hello,<br/><br/>Yes, Edit and Continue feature is enabled in default. In .NET 2.0, we focused managed Edit and continue resources on the core-scenarios. However, there are some non-core scenarios in which we could not edit and continue:<br/> 1. for non-x86 platform.<br/> 2. if a third-part profiler is attached. <br/> 3. dynamic code or in-memory modules<br/> 4. if we're interop-debugging<br/> 5. code loaded by NGen<br/> 6. for the mscorlib.dll assembly<br/>These are limitations of the CLR, not the Visual Studio's fault.<br/>Please refer to this link for more explaination: <a href="http://blogs.msdn.com/jmstall/archive/2006/02/13/cant_do_enc.aspx">http://blogs.msdn.com/jmstall/archive/2006/02/13/cant_do_enc.aspx</a></p> <p>Based on your previous post, here are my suggestion:<br/> 1. Please open Tools-&gt;Options...-&gt;Debugging-&gt;Edit and Continue, make sure Enable Edit and Continue option has been checked.<br/> 2. Please check the Environment Variables, if there are any one named COR_ENABLE_PROFILING, COR_LINE_PROFILING, or COR_GC_PROFILING, then, set their values to 0<br/> 3. Please run Visual Studio in safe mode by entering <strong>devenv /safemode</strong> in Visual Studio 2008 command prompt.</p> <p>Best regards,</p><hr class="sig">Please remember to mark the replies as answers if they help and unmark them if they provide no help.<br/>If you have any feedback, please tell us.<br/> Welcome to the <a href="http://cfx.codeplex.com">All-In-One Code Framework!</a>Wed, 10 Jun 2009 02:32:25 Z2009-06-10T02:32:25Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#b7a1e791-5ae2-4ced-96a9-e66d83c330edhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#b7a1e791-5ae2-4ced-96a9-e66d83c330edJaedenRuinerhttp://social.msdn.microsoft.com/Profile/en-US/?user=JaedenRuinerWhy Debugger won't let me edit and continueI'm not sure if i'm doing any of those.  <br/> <br/> None of those Environment Variables exist on my system.  Edit &amp; continue is activated.  I haven't changed anything in the IDE at all, and previously I was able to edit during a breakpoint in the DLL (my own class library project).  Granted, Lambda expressions and LINQ statements prevent the editing of a method during edit &amp; continue, but currently every source file in my class library is locked readonly, even though nothing changed (that I'm aware of).<br/> <br/> J&quot;SD&quot;a'RR<hr class="sig">&quot;Never Trust a computer. Your brain is smarter than any micro-chip.&quot;Tue, 16 Jun 2009 21:28:22 Z2009-06-16T21:28:22Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#eac112fc-eaf3-4e2a-8cd4-3fe845a8e08bhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#eac112fc-eaf3-4e2a-8cd4-3fe845a8e08bLoveMeSomeCodehttp://social.msdn.microsoft.com/Profile/en-US/?user=LoveMeSomeCodeWhy Debugger won't let me edit and continue<br/> I'm having(probably) the same issue.<br/> <br/> I'm using VS 2005, with WinForms code. I used to be able to Edit and Continue all over the place, and now, in some projects, I can't type in the code window. I can 'technically' Edit and Continue, because I can select and drag code around, but I can't enter any keystrokes into the text editor.<br/> <br/> I've tried all the suggestions about making sure the Edit and Continue is on, Break all Processes, Optimize code is off, Debug symbol generation is set to full.<br/> <br/> Is there any chance this is related to source control? The project that is not allowing me to type while it's executing is under source control(Surround SCM w/VS plugin), but the file in question is checked out and not read-only. The only reason I bring that up, is that have no problem with edit and continue in another solution which is not under source control.<br/> <br/> Anyone have any ideas?<br/>Wed, 01 Jul 2009 13:44:07 Z2009-07-01T13:44:07Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#28eb181d-5a84-4401-9b9d-aabcd6f11f3fhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#28eb181d-5a84-4401-9b9d-aabcd6f11f3fLoveMeSomeCodehttp://social.msdn.microsoft.com/Profile/en-US/?user=LoveMeSomeCodeWhy Debugger won't let me edit and continueUPDATE: I can also Undo/Redo while the code is executing, and these changes are executed live, like E&amp;C changes are supposed to be. But still no new keystrokes allowed. The fact that I can make live edits leads me to think this isn't a debugger issue, but a bug in the IDE.Thu, 02 Jul 2009 16:53:50 Z2009-07-02T16:53:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#5e163d2b-1564-40da-abfa-dad7ef13ce11http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/38b8fe15-c76b-44f2-a3cb-730765bec137#5e163d2b-1564-40da-abfa-dad7ef13ce11LoveMeSomeCodehttp://social.msdn.microsoft.com/Profile/en-US/?user=LoveMeSomeCodeWhy Debugger won't let me edit and continueUPDATE: Ok, I don't like this, but it looks like it has something to do with Resharper, or Addins in general. I'm running Resharper 2.5, and when I disable it, the problem goes away and I can E&amp;C just fine. The weird thing is, I was using Resharper on those other projects I mentioned, that weren't in source control, and E&amp;C worked there. So maybe its a 3 way collision of E&amp;C, Resharper and Surround SCM. <br/> <br/> I had really gotten used to all these awesome tools, dammit.<br/>Thu, 02 Jul 2009 17:03:42 Z2009-07-02T17:03:42Z