The one place I use <canvas debug='true'> is when I'm playing around in Laszlo explorer, or in the documentation.  I like the flexibility of just pasting in a bit of source and playing with it, without ever having to make any files.  In that universe it's very handy to be able to specify debug=true.  For any production work I do of course I just use the parameter in the URL. 

I hope you can maintain this flexibility in all runtimes, but even if it is Flash only, I still would find it useful.

-Jason


P T Withington wrote:
I think we should not even have debug as a canvas attribute.  Why  
would you want your source to specify that you were debugging?  (Only  
exception I can think of is lzunit, and it should just have an early  
assertion that causes the whole test to fail if the debugger is not  
present.)

On 2006-08-30, at 22:47 EDT, Henry Minsky wrote:

  
If you have an app that declares

<canvas debug='true'>

and you then fetch myapp.lzx?debug=false

should the query arg override the canvas attribute when compiling  
the app?

Currently it does not;  the canvas attribute takes final  
precedence. That
seems a little
backwards to me, the query arg ought to be treated like a command  
line arg
to the compiler
and should override the canvas app attributes. Anyone have any  
feelings one
way or the other?




-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
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
  

-- 
Jason Stafford
Principal Developer
Inspiration Software, Inc.
The leader in visual thinking & learning

InspireData(tm), the newest innovative thinking and learning tool from
Inspiration Software(r), extends the proven power of visual learning to
data analysis. 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
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to