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

  • Thread starter Bryce K. Nielsen
  • 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
 
J

Jianwei Sun

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

Tools->Options ->Debugging..
 
B

Bryce K. Nielsen

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
 
J

Jianwei Sun

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.
 
B

Bryce K. Nielsen

You are right on that case. I cannot do edit and continue when it's

So basically we're hosed in this regard? For any good reason?

-BKN
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top