View exception details in Visual Studio-Collection of common programming errors
I’ve started working on an old project, where WinForms
application uses DevExpress
controls, for example DataGrid
.
The program window contains another multiple windows, and when I’m minimizing some of them, I get an Unhandled Application Exception with Attempted to divide by zero.
in details. I want to know what causes this exception, but when I run the project in Debug
mode in Visual Studio
(2005 version), it does not react in any way to this exception.
Is there a way to find out the reason this exception is thrown?
-
Enable such exceptions in
Debug -> Exceptions -> Common Language Runtime Exceptions
Also
Also, it is a good idea to turn off the Tools–>Options–>Debugging–>Enable Just My Code option.