The variable names appended to the register names help a lot.

This makes sense why it doesn't work from rhino -- in LzRuntime.lzs  
it says
      68   if ($dhtml) {
      69     var dw = top.frames['LaszloDebugger'];
      70     var dwd = dw.document;

So, in rhino, we're in dhtml, but there's no top.frames. I can get  
around this with the BUFakeDom, which seems like the right thing to  
do. I want the rhino runtime to seem just like the in-browser dhtml  
environment.

The build will fail tonight because of this -- blame me! Tomorrow  
I'll be working on this, and on documenting the test system.

-ben




On Apr 23, 2006, at 4:21 PM, P T Withington wrote:

> Change 41722 by [EMAIL PROTECTED] on 2006/04/23 16:20:56
>
>       Summary: Tweaks for Ben
>       
>       Technical Reviewer: ben (pending)
>       QA Reviewer: ben (pending)
>       Doc Reviewer: n/a (pending)
>       
>       Details:
>       
>       LzRuntime, LzDebug: Make bootstrap warning use Debug.addText so it  
> can
>       be captured by unit tests.
>       
>       JavascriptGenerator: Append variable names to register names
>       in debug mode for increased debugability.
>       
>       Tests: Examine LFCdhtml-debug.js
>
> Affected files ...
>
> ... //depot/lps-legals/WEB-INF/lps/lfc/compiler/LzRuntime.lzs#3 edit
> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzDebug.lzs#3 edit
> ... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/sc/ 
> JavascriptGenerator.java#16 edit
>

benjamin shine
software engineer
[EMAIL PROTECTED]



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

Reply via email to