I am using Visual C# 2010 Express and Visual Basic 2010 Express on my Windows 8 developer preview PC.
Before, there was no problem, both VB and C# work fine.
But today, both VB and C# can’t handle errors. I have created a simple application with VB and C#. (.Net framework 4.0) the codes are here:
VB.Net :
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Throw New Exception("Hi")
End Sub
C# :
private void Form1_Load(object sender, EventArgs e)
{
throw new Exception("Hi");
}
When I run the program, this dialog appears:

And after clicking OK, the error dialog shows for a little moments and then program stops quickly. So, I can’t even read the error on the error dialog…
So, What is the problem?
EDIT : Visual studio should show a exception dialog like this :

But visual studio shows the dialog shown in first image instead of this dialog. So, I can’t debug my program.
EDIT 2 : If I enable break exception when thrown in Exceptions dialog, the problem solves, but at that point, visual studio breaks on EVERY exception , even handled exceptions… I don’t want to break on every exception…
Try resetting all settings :
MenuBar => Tools => Import and Export Settings => Reset all settingsIf it still doesn’t work, run VS as admin and in
Windows XPcompatibility mode.