System Hooks Are Your Friend
Here's an example of how setting a debug hook in Leadwerks3D from a BlitzMax program saved me a lot of time stepping through code to figure out where something went wrong. When the engine encounters a fatal error, the hook is called, giving control back to the main program.
I can even step through the BlitzMax debugger and see which call to Leadwerks3D produced the error:
And it works with all supported languages. Little things like this make programming with Leadwerks3D very enjoyable.
- 3
3 Comments
Recommended Comments