CaravelGames / drod

The official public repository of Deadly Rooms of Death and DROD RPG
http://caravelgames.com
56 stars 17 forks source link

Allow exception catching in _DEBUG builds #596

Closed Hypexion closed 3 months ago

Hypexion commented 3 months ago

Currently, some preprocessor blocks are set up so that exception catching and logging is mutually exclusive with functionality provided by the _DEBUG flag, such as assert logging. This makes it more difficult to assess certain crashes, as they do not trip any asserts before breaking everything. By allowing exceptions to also be caught and logged, more information might be collected to help with such problems.