Spoke too soon, with a clean build and redeploy I get that same error now
TypeError: Error #1010: A term is undefined and has no properties.
at
<anonymous>()[/Users/hqm/openlaszlo/lib/jakarta-tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk6/test/smoke/build/smokecheck/LzApplication.as:114]
at
LzScript()[/private/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/lzgen1319031710704483356/LzScript.as:8]
at
LzNode/makeChild()[/private/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/lzgen1319031710704483356/LzNode.as:883]
at
LzInstantiatorService/makeSomeViews()[/private/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/lzgen1319031710704483356/LzInstantiatorService.as:221]
at
LzInstantiatorService/createImmediate()[/private/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/lzgen1319031710704483356/LzInstantiatorService.as:255]
at
LzInstantiatorService/requestInstantiation()[/private/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/lzgen1319031710704483356/LzInstantiatorService.as:30]
at
LzCanvas/initDone()[/private/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/lzgen1319031710704483356/LzCanvas.as:376]
at
LzApplication/runToplevelDefinitions()[/Users/hqm/openlaszlo/lib/jakarta-tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk6/test/smoke/build/smokecheck/LzApplication.as:1770]
at
LFCApplication/initLFC()[/private/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/lzgen1319031710704483356/LFCApplication.as:428]
at flash.display::DisplayObjectContainer/addChild()
at flash.display::Stage/addChild()
at
LzPreloader/enterFrame()[/Users/hqm/openlaszlo/lib/jakarta-tomcat-5.0.30/temp/lzswf9/Users/hqm/openlaszlo/trunk6/test/smoke/build/smokecheck/LzPreloader.as:43]
On Tue, Sep 29, 2009 at 8:06 PM, Henry Minsky <[email protected]>wrote:
> I'm not getting any halt or error in swf10, although when I made a test
> case like this, and clicked to call Debug.info(), it prints out a LzInfo
> object which has undefined as the value of 'backtrace'
>
> <canvas>
> <text bgcolor="#ccffcc" text="${canvas.runtime}"/>
> <view bgcolor="red" x="100" y="100" height="40" width="40"
> onclick="Debug.info('foo')"/>
> </canvas>
>
>
>
>
> «LzInfo#0» {
> backtrace: (void 0)
> file: null
> filePrefix: '@'
> length: NaN
> line: 0
> linePrefix: '≈'
> message: 'foo'
> }
>
> In SWF8, I get these errors printed, but the backtrace is present
>
> WARNING @debugger/LzBacktrace.lzs≈45: reference to undefined property
> 'filename'
> ERROR @debugger/LzBacktrace.lzs≈57: undefined object does not have a
> property 'indexOf'
> INFO: foo
> lzx> Debug.inspect(foo)
> «LzInfo(10)#2» {
> backtrace: handle onclick <- sendEvent <- mouseevent <- handleMouseEvent
> <- rawMouseE…
> constructor: LzInfo
> file: (void 0)
> length: 10
> line: 3
> linePrefix: '#'
> message: 'foo'
> }
> «LzInfo(10)#2| foo»
> lzx>
>
> On Tue, Sep 29, 2009 at 6:55 PM, Henry Minsky
> <[email protected]>wrote:
>
>> I'll take a look at it
>>
>>
>>
>> On Tue, Sep 29, 2009 at 6:13 PM, P T Withington <[email protected]> wrote:
>>
>>> [This is not really a review request, more a request for collaboration.
>>> I've made a cut at getting the backtrace annotations working in swf9 and
>>> made a lot of progress, but it is currently bombing in a way that I can't
>>> debug. I'm using:
>>>
>>> fdb "
>>> http://repo-man.home:8080/trunk/test/smoke/simple.lzx?debug=true&lzr=swf10&lzbacktrace=true
>>> "
>>>
>>> as my test case. It halts implying that canvas has no makeChild method.
>>> If anyone feels like unpacking this and playing around to see if they can
>>> push it along, that would be great... I've got to stop for the day.]
>>>
>>> Change 20090929-ptw-y by [email protected] on 2009-09-29 18:01:59 EDT
>>> in /Users/ptw/OpenLaszlo/trunk
>>> for http://svn.openlaszlo.org/openlaszlo/trunk
>>>
>>> Summary: A cut at getting backtracing to work in swf9
>>>
>>> Bugs Fixed: LPP-8479 Debug.evalCarefully not necessary after LPP-8222?
>>> [I got carried away trying to make the line numbering in the debugger
>>> more accurate...]
>>>
>>> Technical Reviewer: hminsky (pending)
>>> QA Reviewer: [email protected] (pending)
>>>
>>> Release Notes:
>>> The debugger indicates when the file/line information on a debugger
>>> message is not accurate. If the location information is coming
>>> from the view associated with the error, rather than @file it will
>>> print %file. If the line number is only approximate (backtracing
>>> is not enabled), rather than #line it will print ~line.
>>>
>>> Details:
>>>
>>>
>>> Tests:
>>> Nothing works yet...
>>>
>>> Files:
>>> M test/smoke/lztext.lzl
>>> M test/smoke/lzunit-test.lzl
>>> M WEB-INF/lps/lfc/kernel/swf9/LzPreloader.as
>>> M WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as
>>> M WEB-INF/lps/lfc/debugger/LzMessage.lzs
>>> M WEB-INF/lps/lfc/debugger/LzDebug.lzs
>>> M WEB-INF/lps/lfc/debugger/platform/swf9/LzDebug.as
>>> M WEB-INF/lps/lfc/debugger/LzMonitor.lzs
>>> M WEB-INF/lps/lfc/debugger/LzTrace.lzs
>>> M WEB-INF/lps/lfc/debugger/LzBacktrace.lzs
>>> M WEB-INF/lps/lfc/build.xml
>>> M WEB-INF/lps/lfc/compiler/LzDebugStub.lzs
>>> M WEB-INF/lps/lfc/compiler/LzBootstrapDebugService.lzs
>>> M WEB-INF/lps/server/src/org/openlaszlo/cm/CompilationManager.java
>>> M WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java
>>> M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java
>>> M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
>>> M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java
>>> M
>>> WEB-INF/lps/server/src/org/openlaszlo/compiler/ToplevelCompiler.java
>>> M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java
>>> M WEB-INF/lps/templates/info-response.xslt
>>> M lps/components/debugger/platform/swf9/eval.lzs
>>>
>>> Changeset:
>>> http://svn.openlaszlo.org/openlaszlo/patches/20090929-ptw-y.tar
>>>
>>
>>
>>
>> --
>> Henry Minsky
>> Software Architect
>> [email protected]
>>
>>
>>
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>
--
Henry Minsky
Software Architect
[email protected]
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews