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

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

sql - Return Function using Cursor -