Debugging in VsNet2k8. Changes not allowed while prog is running

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!
 
M

Manu

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
 
T

Tony!

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-
 

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