VB 2010 Express - Debugger is not breaking on errors, Sub producing error simply terminates

Posted by hamlin11 on Stack Overflow See other posts from Stack Overflow or by hamlin11
Published on 2010-06-03T18:09:30Z Indexed on 2010/06/03 18:14 UTC
Read the original article Hit count: 231

I'm using VB 2010 Express.

When an error occurs in the form load function, the form load function simply terminates.

Then, when I click on one of my buttons, the button click sub also terminates if it has an error.

I can wrap the code that produces the errors in try/catch blocks, but I'd very much rather the debugger to throw an immediate break point (like usual) or at least exit the program.

It's making it very difficult to program, not knowing whether or not previous Subs executed fully.

Any thoughts on what might be going on?

Thanks

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about visual-studio