I will take a look. I'm filing a bug placeholder at http://www.openlaszlo.org/jira/browse/LPP-2074




On 5/18/06, P T Withington <[EMAIL PROTECTED] > wrote:
Maybe the debug flag is not passed to the compilation of libraries?

On 2006-05-18, at 18:25 EDT, Jason Stafford wrote:

> We are using OpenLaszlo 3.2 and have broken our application into
> libraries for a variety of reasons (improve download time, improve
> startup speed, lower memory usage, etc.).
>
> Now we are finding that the code in the libraries no longer
> generates the helpful "reference to undefined variable", "reference
> to undefined property", or "undefined object does not have a
> property" messages.  I've looked through the JIRA bug database, and
> don't see a bug on this issue.
>
> If at all possible, we would really like to use libraries while
> developing, and still get the useful undefined reference messages.
>
> Looking deep into the OpenLaszlo source in VariableReference.java,
> it seems that the only reasons that these messages would not be
> emitted to the debugger is if Compiler.WARN_UNDEFINED_REFERENCES
> was set to false, which it does not seem to be, or if node.filename
> was null, which also does not seem likely.
> I've gone as deep as I can (or want to) into the java code, and I
> do not understand why this is happening.  Can someone out there
> with a deeper understanding of the Java code let me know why this
> is happening, and how to fix it.
>
> Enclosed is a sample program to reproduce the problem.
>
> Thanks for your time.
>
>
> --
> Jason Stafford
> Principal Developer
> Inspiration Software, Inc.
> The leader in visual thinking & learning
>
> Introducing INSPIRATION(r) 8, the essential tool to visualize,
> think, organize and learn. Students use Inspiration to plan,
> research and complete projects successfully. Learn more at
> www.inspiration.com.
> 503-297-3004 Extension 119
> 503-297-4676 (Fax)
> 9400 SW Beaverton-Hillsdale Highway
> Suite 300
> Beaverton, OR 97005-3300
>
> <?xml version='1.0' encoding='UTF-8' ?>
> <canvas width='100%' height='100%' proxied='true' debug='true'>
>       <import name='library' stage='late' href=''/>
>
>       <handler name='oninit'>
>               polly.wog();
>               Debug.write("Canvas is inited.  Got expected warnings.");
>       </handler>
> </canvas>
> <?xml version='1.0' encoding='UTF-8' ?>
> <library>
>       <view>
>               <handler name='oninit'>
>                       froggy.frog();
>                       Debug.write("Library is inited.  Didn't see any warnings.");
>               </handler>
>       </view>
> </library>
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to