Advertisement

AngelScript exceptions

Started by April 24, 2009 11:51 AM
3 comments, last by SiCrane 15 years, 7 months ago
Right now the behavior of AngelScript exceptions is that when an exception is raised, the context first calls the exception callback and then cleans the stack. Would it be possible to delay cleaning the stack until Abort() is called?
Yes. I believe that should be possible. I'll look into this.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
Thanks, that would make debugging exceptions a lot easier.
Done!

The callstack after an exception is now only cleaned up when one of the following occurs, 1. call to Prepare(), 2. call to Unprepare(), or the context is destroyed.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Great. Works like a charm.

This topic is closed to new replies.

Advertisement