[Laszlo-dev] For Review: Change 20080207-hqm-a Summary: a debugger eval implementation

P T Withington ptw at pobox.com
Thu Feb 7 06:14:38 PST 2008


Approved because I have seen it working!  Totally cool.

On 2008-02-07, at 01:40 EST, Henry Minsky wrote:

> Change 20080207-hqm-a by hqm at henry-minskys-macbook-pro.local on  
> 2008-02-07 01:35:03 EST
>    in /Users/hqm/openlaszlo/devildog
>    for http://svn.openlaszlo.org/openlaszlo/branches/devildog
>
> Summary:  a debugger eval implementation
>
> New Features:
>
> Bugs Fixed:
>
> Technical Reviewer: dda
> QA Reviewer: ptw
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
>
> To eval an expression, a new class is compiled,  whose constructor  
> executes the expression, and
> prints the value to a crude text field console.
>
> The new class is named DebugEvaluate, and it is a subclass of a stub  
> base class named DebugExec, which
> just defines a console print method for now.
>
> I modified SWF9Generator to emit the DebugEvaluate class instead of  
> LzApplication, when the new
> debugEval flag is passed in.
>
>
> Tests:
>
> hello.lzx, or any app. Type an expression in the pink input field,  
> and see output in gray area
>
> Files:
> M      test/swf9/hello.lzx
> M      WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as
> M      WEB-INF/lps/lfc/kernel/swf9/Library.lzs
> M      WEB-INF/lps/lfc/views/LaszloCanvas.js
> 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/servlets/responders/ 
> ResponderEVAL.java
> M      WEB-INF/lps/server/src/org/openlaszlo/compiler/ 
> CompilationEnvironment.java
> M      WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080207-hqm-a.tar



More information about the Laszlo-dev mailing list