c# - Exception in GUI thread causing vshost.exe to crash -


i think visual studio 2008 (.net 3.5) corrupted.

if start new windows forms project in new solution, add code

double[] x = new double[2]; x[3] = -1.0; 

to form_load handler (or button handler), , try debug program, crashes immediately, not throwing exception, crashing.

if put same code in form constructor or in main, exception gets thrown normal.

any ideas might going on?

don't worry, vs fine.

the form load handler (ultimately) invoked windows message loop, exception handling little different. see here more details.


Comments

Popular posts from this blog

sql - text truncated using perl DBI insert -

c++ - Is it possible to compile a VST on linux? -

php - Pass object by reference or value -