0

I'm using Visual Studio 2008 in developing VB.NET windows application , this application contains MDI_PARENT form and many MDI_CHILDS forms.

when i run F5 (start debugging) , and stop in BREAK-POINTS and need to edit the code , it allows me to edit in MDI-PARENT form code , but when i try to edit the MDI-CHILD code it gave me the following message :

changes are not allowed when the debugger has been attached to an already running process.....

I went to:

Tools -> Options -> Debugging -> Edit and Continue

then i disable "Enable Edit and Continue" remove the Checkbox before it . then when i tried to edit it gave me the following error

cannot currently modify this text in the editor. it is read-only

so, how could I enable Edit and Continue in MDI-CHILDS forms ???

ThnX....

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
MoniR
  • 1,351
  • 12
  • 18
  • possible duplicate of [Edit and Continue: "Changes are not allowed when the debugger has been attached to an already running process or the code being debugged was optimized at build or run time"](http://stackoverflow.com/questions/1010213/edit-and-continue-changes-are-not-allowed-when-the-debugger-has-been-attached-t) – Cody Gray - on strike May 21 '11 at 14:36
  • The second part of that message is important. It says you can't make changes to code that has been **optimized at build or run time**. Make sure that you've disabled optimizations in your project's properties. This has *nothing* to do with MDI. – Cody Gray - on strike May 21 '11 at 14:36

0 Answers0