Click here to Skip to main content
15,306,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I am debugging My vb.net
Program in Visual Studio 2008.

When I am getting any error or exception
The error or exception is moving on to
the inbuilt class files in visual studio.
I mean to say its navigating me to the
.cs files .

How can i avoid this.
I think I have accidently changed
some settings .

assist If any one have Idea. regarding this.
Posted

1 solution

The question is not clear but — look at [Main Menu] => Debug => Exceptions… In particular, it has the button "Reset All". But better look through all the options, they are good to understand.

—SA
   
Comments
Karwa_Vivek 28-Jun-12 3:36am
   
Thanks
Karwa_Vivek 28-Jun-12 7:26am
   
But Agin its Not working .
The same problem again.
Sergey Alexandrovich Kryukov 28-Jun-12 12:01pm
   
I only explained how to control all of the exception options. As to your original problem, you did not explain it in a comprehensive manner, so I don't know how to reproduce it. If you could make a complete but small code sample which allows to reproduce the problem, I'm sure it could be not too hard to sort things out.
--SA
Karwa_Vivek 29-Jun-12 2:02am
   
I have just Disabled The "Just My Code " option under Menu >Tools>Option>Debugging>Enable Just My code.

Due to which When Error Or Exception Ocuurs It was Taking me Out side of My code and Showing me the controls cs files.
You can try and See this happening,
Anyways Thanks For your Kind Attention.
Sergey Alexandrovich Kryukov 29-Jun-12 18:07pm
   
What control cs files? Not yours? If not yours, how come you have the source code?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900