Debugging in VsNet2k8. Changes not allowed while prog is running

  • Thread starter Thread starter Tony!
  • Start date Start date
T

Tony!

While running an app in Debug mode, w/o any breakpoints, sitting there
waiting for a button to be pressed on a windows form.

When I go into the button's code and type anything I get the pop up
"Changes are not allowed while code is running or if the option 'Break
all processes when one process breaks' is disabled. The option can be
enabled in tools, options, debugging.

The option is already checked, yet I can't debug and I'm sure I'm not
in release mode....

I know I had this same problem in VS2k5, but I believe checking the
break all when one breaks box let me debug.

Any thoughts that mnay help me debug?

Thanks,

Tony!
 
If you need to edit the code I think you should be in the break mode. Break
all processes when one process breaks is an option which will break the
multiple processes once a process enters break mode
 
Doh.. yes.. You have a point..

I wasn't in break mode... (shaking head)..
I put a break point on the first statement in the click event and once
that was hit, I could make whatever changes while debugging..

lol.. Thanks for the help (and sorry for the double/triple posting of
this question. Just set up newsreader on work machine and it didn't
seem as if my post actually went out)

-T-
 
Back
Top