realbasic-nug
[Top] [All Lists]

Re: Stack Trace?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Stack Trace?
From: Ben Blake <benb at kagi dot com>
Date: Wed, 17 Oct 2007 06:22:52 +1000
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <85F40AF9-EFBC-4280-AB88-3D1DA38C4EBD at kimballlarsen dot com> <C0EDDEBD-7DCC-4CEA-A0B9-AC91C2C9BDB0 at chaoticbox dot com>
G'Day!

On 17/10/2007, at 5:16 AM, Frank Condello wrote:

> If you enable "IncludeFunctionNames" in the App properties you can do
> something like this:
>
>   Dim e As New RuntimeException
>   Raise e
>   Exception err
>     Dim s() As String = err.Stack
>     System.Debuglog s(1)// 0 = this method, 1 = caller, etc.
>
> The function names are slightly mangled but still readable. For
> debugging you'll probably want to turn off "Break On Exceptions" in
> the project menu.

To clean up the stack trace try StackCleaner:
<http://www.fireyesoftware.com/developer/stackcleaner/>

cya
Ben
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>