c# 4.0 - throw new applicationexception c# but in debug mode do not highlight it -


Hi, It is possible that the new application should be thrown to the application C #, but do not highlight it in the window in debug mode specifically for application option for VS 2012.

No need to show error window

I tried it but I could not find the solution.

no need to show error window

You can feature your method with the [debuggerStepThrough] attribute. [DebuggerStepThrough] Public Static Zero ThrowError (...)


Alternatively, you can try: In Visual Studio, " Debug "menu and choose" Exceptions ". In the following dialog you can choose what exceptions should be prevented by Visual Studio

Please note that this is a global setting for the project. This will not stop at any ApplicationException , not only that which was put in ThrowError .

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -