{"id":1975,"date":"2022-08-30T15:21:00","date_gmt":"2022-08-30T15:21:00","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/08\/view-exception-details-in-visual-studio-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:21:00","modified_gmt":"2022-08-30T15:21:00","slug":"view-exception-details-in-visual-studio-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/view-exception-details-in-visual-studio-collection-of-common-programming-errors\/","title":{"rendered":"View exception details in Visual Studio-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;ve started working on an old project, where <code>WinForms<\/code> application uses <code>DevExpress<\/code> controls, for example <code>DataGrid<\/code>.<\/p>\n<p>The program window contains another multiple windows, and when I&#8217;m minimizing some of them, I get an Unhandled Application Exception with <code>Attempted to divide by zero.<\/code> in details. I want to know what causes this exception, but when I run the project in <code>Debug<\/code> mode in <code>Visual Studio<\/code> (2005 version), it does not react in any way to this exception.<\/p>\n<p>Is there a way to find out the reason this exception is thrown?<\/p>\n<ol>\n<li>\n<p>Enable such exceptions in<\/p>\n<blockquote>\n<p>Debug -&gt; Exceptions -&gt; Common Language Runtime Exceptions<\/p>\n<\/blockquote>\n<p>Also<\/p>\n<blockquote>\n<p>Also, it is a good idea to turn off the Tools&#8211;&gt;Options&#8211;&gt;Debugging&#8211;&gt;Enable Just My Code option.<\/p>\n<\/blockquote>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2013-12-08 01:21:12. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;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&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1975","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1975"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1975\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}