[Laszlo-user] how do I find out which object is undefined?

P T Withington ptw at pobox.com
Fri Sep 26 06:42:23 PDT 2008


In your forum post you say:

> This message only occurs in SWF8 runtime using the application as a  
> Web Archive in the tomcat.

Running the OpenLaszlo Server as .war file is not supported:

http://www.openlaszlo.org/jira/browse/LPP-3457

I'm not sure that explains the bizarre message you are getting in the  
debugger.  You could try looking at your tomcat log files to see if  
that reveals anything more.

On 2008-09-26, at 09:27EDT, Marc Bachstein wrote:

> Hello,
>
> I have also posted into the forum:
> http://forum.openlaszlo.org/showthread.php?t=12099
>
> I am using OL release 4.1.1, proxied="true", lzr=swf8 and I am using  
> the swf
> compiled by lzc.
>
> For debugging I use the OpenLaszlo Debugger.
>
> After I push a button in the application a few methods become executed
> containing also an image request to the server backend. The image  
> however
> does not become displayed and the OL Debugger contains the message
>
> [object Object]
> undefined
>
> After this the application as well as the OL debugger cannot be  
> applied any
> more.
>
> Now I wanted to find out which object is undefined and was asking  
> for a
> method to do this.
>
> I have tried IE 7 and Firefox 2. In both browsers the application  
> fails in
> swf8 runtime. In dhtml runtime the application works well. When I  
> start the
> application with the lzx compiled by the server the problem also  
> does not
> occur in swf8 (both browsers).
>
> @ Geoff Crawford : How do I set breakpoints in Laszlo source code?
>
> Kind Regards,
> Marc
>
>> -----Ursprüngliche Nachricht-----
>> Von: P T Withington [mailto:ptwithy at gmail.com] Im Auftrag von
>> P T Withington
>> Gesendet: Freitag, 26. September 2008 14:28
>> An: bachstein at visus-tt.com
>> Cc: laszlo-user at openlaszlo.org
>> Betreff: Re: [Laszlo-user] how do I find out which object is
>> undefined?
>>
>> What is the environment when you application is failing?
>> What version of OpenLaszlo are you using?  Proxied?
>> Standalone?  Browser?  What 'debug window'?  The OpenLaszlo
>> debugger?  The browsers?  We need more hints...
>>
>> On 2008-09-26, at 07:29EDT, Marc Bachstein wrote:
>>
>>> Hello,
>>>
>>> I have the problem that my application stops with the message:
>>>
>>> [object Object]
>>> undefined
>>>
>>> in the debug window. This message only occurs in swf8 runtime.
>>>
>>> With a tomcat running in the eclipse environment the
>> application works
>>> fine in swf8 and dhtml runtime.
>>>
>>> Now my question is how I can find out which object is undefined and
>>> makes the application stop. Unfortunately, the message in the debug
>>> window gives no information about that.
>>>
>>> Does anybody have a clue how I can find this out?
>>>
>>> Kind Regards,
>>> Marc
>
>




More information about the Laszlo-user mailing list