I have a Text box on a form:
private void button1_Click(object sender, EventArgs e)
{
textBox1.Text = "two";
}
I run (F5) the app and tried to modify the source code to:
textBox1.Text = "one hundred";
when debugging, I got the pop up box saying:
"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."
I have checked this option is already checked.
RobinS - 28 Apr 2008 05:59 GMT
Make sure you are running the application in Debug mode, not Release mode.
RobinS.
GoldMail.com
>I have a Text box on a form:
> private void button1_Click(object sender, EventArgs e)
[quoted text clipped - 17 lines]
>
> I have checked this option is already checked.
Man T - 28 Apr 2008 12:50 GMT
How do I run it at Debug mode?
> Make sure you are running the application in Debug mode, not Release mode.
>
[quoted text clipped - 22 lines]
>>
>> I have checked this option is already checked.
Jeff Johnson - 28 Apr 2008 17:00 GMT
> How do I run it at Debug mode?
More than likely there is a combo box on one of your toolbars that currently
says "Release." Drop it down and choose "Debug." You can also go to Build |
Configuration Manager and set the active configuration from there.