zengqh / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

Exception issue in sample framework #388

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using the November 2008 version of SlimDX and the sample framework.

Normally unhandled exceptions that are thrown within the Window_Paint()
method in Game.cs are being silently swallowed somewhere. Since this method
calls DrawFrame(), it can cause errors in drawing code to go unnoticed.

Original issue reported on code.google.com by akada...@gmail.com on 31 Dec 2008 at 6:23

GoogleCodeExporter commented 9 years ago
I'll look at rearranging it.

Original comment by Mike.Popoloski on 31 Dec 2008 at 2:02

GoogleCodeExporter commented 9 years ago
I've looked into this, and we aren't really catching exception anywhere in the 
sample
framework, except in device creation. If you aren't seeing exceptions, it's most
likely being caught somewhere in your own code.

Original comment by Mike.Popoloski on 28 Feb 2009 at 9:59