Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 3.5

COLUMN

Handling Exceptions

Add Stack Tracing and Logging to Your Projects

Issue: 3.5 (May/June 2005)
Author: Charles Yeomans
Author Bio: Charles Yeomans is a software developer in Lexington, Kentucky.
Article Description: No description available.
Article Length (in bytes): 5,784
Starting Page Number: 33
Article Number: 3514
Related Link(s): None

Excerpt of article text...

Stack tracing is an oft-requested addition to the REALbasic exception mechanism that hasn't made it yet. Here we will see how to implement it ourselves.

What follows is an exception-handling scheme that I have used to good effect in my own projects. In addition to stack tracing, I also add the ability to log and display information about exceptions. But lest you think that REAL Software has been remiss in not implementing this functionality for us, I point out that the functionality that could not be added by developers is there, and it works.

...End of Excerpt. Please purchase the magazine to read the full article.