How can I edit *.cs files while debugger running?

  • Thread starter Thread starter Bryce K. Nielsen
  • Start date Start date
B

Bryce K. Nielsen

I am *extremely* annoyed by this, but apparently in VS2005 you cannot edit
any of your source files while the debugger is running. Why is that? Is
there an option I can set that will let me do this? It is greatly hampering
my ability to debug my code properly.

-BKN
 
I believe in VS2005, the edit and continue is supported.

Tools->Options ->Debugging..
 
I believe in VS2005, the edit and continue is supported.
Tools->Options ->Debugging..

I have that checked (it's checked by default even), but that only lets me
edit the files if the debugger has broken into some code. While it's just
running (i.e. no pause, no breakpoint), the files are "locked". It's really
annoying, because I'm used to going through my applications, noticing a
minor cosmetic bug and wanting to fix it right then and there. A common
example is TabOrder. But since the file is locked, I can't immediately hop
back to the code and make the minor change. I have to kill the app, makes
changes, restart, get back to where I was, etc. I really sucks.

-BKN
 
Bryce said:
I have that checked (it's checked by default even), but that only lets me
edit the files if the debugger has broken into some code. While it's just
running (i.e. no pause, no breakpoint), the files are "locked". It's really
annoying, because I'm used to going through my applications, noticing a
minor cosmetic bug and wanting to fix it right then and there. A common
example is TabOrder. But since the file is locked, I can't immediately hop
back to the code and make the minor change. I have to kill the app, makes
changes, restart, get back to where I was, etc. I really sucks.

-BKN
You are right on that case. I cannot do edit and continue when it's running.
 
Back
Top