realbasic-nug
[Top] [All Lists]

Re: REALbasic Compiler Bugs?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: REALbasic Compiler Bugs?
From: Joe Huber <joehuber at talasoft dot com>
Date: Fri, 30 Mar 2007 08:15:22 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <e3e2c9250703300656p2f222b1clb57ce50754ecaf5 at mail dot gmail dot com> <e3e2c9250703300756i7f8f5295ia9be55c7b343475b at mail dot gmail dot com>
At 4:56 PM +0200 3/30/07, Bastian Bense wrote:
>Just a thought, but is it possible that the RB compiler causes
>problems on really long methods? The suspicious one here is around
>1240 lines, so I wonder if that might be the cause (if I comment out
>some of the code, it seems to work fine).

RB has a couple of problems with very long methods. If your method 
uses complex logical statements, lots of local varables or is simply 
too big, you may get a compile time message saying that the method 
uses too much stack space.

There's another issue on Windows and Mac Intel where runtime 
exception handlers don't get called if the method is too big. Does 
your big method cause any exceptions that you try to handle locally? 
That would be a problem in many recent versions up to and including 
2007r1.

Regards,
Joe Huber
_______________________________________________
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>