Bug #1881
350+ exceptions thrown during initial startup (prior to loading a game)
0%
Description
Clearly excessive. The majority of these are not truly exceptional circumstances so therefore should not be handled using exceptions. The main culprit appears to be the Doomsday Script system.
History
#1 Updated by danij about 10 years ago
- Tags changed from Scripting to Scripting, Performance
#2 Updated by skyjake about 10 years ago
Any breakdown on the type of exceptions being thrown?
#3 Updated by danij about 10 years ago
skyjake wrote:
Any breakdown on the type of exceptions being thrown?
Qt Creator will list all the exceptions thrown during a debug session in the Issues tab. Sadly the UI doesn't provide the ability to copy them all or save them into a text file, so I don't particularly feel like copying them one-by-one into this report.
Obviously there are some cases, such as handling EOF in a text parser, that are a natural fit for handling using exceptions. I'm ignoring those.
#4 Updated by skyjake over 7 years ago
- Status changed from New to Closed
This will eventually be dealt with as the code gets cleaned up over time.