How do I edit while debugging a mixed-mode project?

How do I edit while debugging a mixed-mode project

The file is locked during the debugging and to edit I must stop the debug session. At least in VS.2003 I could edit the file, even though the edit was not incorporated into the debug session.



Answer this question

How do I edit while debugging a mixed-mode project?

  • Geert Porteman

    If you are using C#, then disabling the option *will* allow you to edit the code. However, this is not the case if you are using VB.

    Habib Heydarian
    Program Manager
    Visual Studio Debugger

  • Duder3555

    I have confirmed that it is indeed a problem with visual basic and not with C#.
    Do you have any idea when MS will resolve the problem

  • SpyderZEX

    The best way to move forward with this issue is to open a new bug on the MSDN Feedback Center (http://lab.msdn.microsoft.com/productfeedback/) which will allow us to track your request.

    Habib Heydarian
    Program Manager
    Visual Studio Debugger


  • SamGentile

    Thanks for logging this issue.

    Habib Heydarian
    Program Manager
    Visual Studio Debugger

  • Smurfy

    I think you missed the point of the question.
    I know from the docs that I can't actually use "Edit & Continue" a mixed mode project. My problem is that the file is locked while I am debugging- I can't edit it at all!

    At least in VS 2003 I could edit the file, albeit without using the changes in the current debug session.

    How do I unlock the file for editing during a debug session.

    BTW: I tried unsetting the ""Edit & Continue" checkbox in the hopes that that would unlock the file. No luck.

  • callvishnu

    You can disable the "Edit and Continue" checkbox in Tools -> Options -> Debugging -> Edit and Continue.

    Habib Heydarian
    Program Manager
    Visual Studio Debugger


  • SQL Wizard

    Thank you for your help. Here is the link to the bug report for this issue:

    http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=554135f3-6974-4ed5-a86d-6a69ca861f6b

  • How do I edit while debugging a mixed-mode project?