[Laszlo-dev] For Review: Change 38015 - add Debug.write(), animation stress test to LEGALS

Elliot Winard enw at laszlosystems.com
Mon Jan 30 13:39:03 PST 2006


I'd be happy to do this if it's the best use of my limited legals time.

Debug.addText() isn't in the docs.  I use Debug.write() often and kept
scratching my head trying to remember if I should print() write() trace() or
what in DHTML targetland.

Maybe I'll talk to Max about plugging this in in the right place.
-e

On Mon, 30 Jan 2006, P T Withington wrote:

> Note that the debugger output has a number of layers.  Rather than redefining
> Debug.write, you should be able to take nearly much more of the LFC debugger
> (which should be pretty pure javascript) and just redefine Debug.addText
> (which is where are the output from Debug.write, etc. ends up going).
> Debug.addText starts out in the core by just logging any output.  When the gui
> debugger gets loaded, it re-defines Debug.addText to send output to the gui
> window and replays all the logged output.  If you have an output capability
> early on, Debug.addText is where you want to hook in.
> 
> Actually, I'd love to work on getting the debugger working for DHTML, if I
> didn't have other stuff higher on my queue -- so if you want to play with
> that, feel free to ask me questions.
> 
> On 30 Jan 2006, at 13:33, Elliot Winard wrote:
> 
> > I'm having trouble getting the p4 scripts to work in cygwin.  I cobbled this
> > one together by hand.  :|
> > 
> > I just started working in the Legals code.  The debugger currently
> > implemented
> > in Legals is a different API than the debugger in other targets.  This
> > brings
> > them a bit closer together.
> > 
> > The file is currently in the test folder.  It probably will eventually go
> > into
> > the main lps folder.
> > 
> > So, this *is* adding user-visible functionality by enabling existing
> > functionality in legals.  I filed bug to do this officially -
> > http://www.openlaszlo.org/jira/browse/LPP-1456
> > 
> > -e
> > 
> > 
> > On Mon, 30 Jan 2006, John Sundman wrote:
> > 
> > > Do you need a doc reviewer?  (There's no slot in your checkin format.
> > > (What
> > > am I, chopped liver (*sniff, sniff*)?)
> > > 
> > > It's no clear to me if this is adding user-visible functionality or just
> > > enabling existing functionality in legals.  Please clarify?
> > > 
> > > Thanks,
> > > 
> > > jrs
> > > 
> > > On Jan 30, 2006, at 12:28 AM, Elliot Winard wrote:
> > > 
> > > > 
> > > > 
> > > >        Change:38015
> > > >        Dev reviewer:Max?  Jim?  Como?
> > > >        User:ewinard
> > > >        Status:pending
> > > >        Description:
> > > >        * initial checkin of Debug.lzx so developers can use
> > > > Debug.write()
> > > > to dump stuff to the debugger, making DHTML code instantly more
> > > > portable.
> > > 
> > > 
> > _______________________________________________
> > Laszlo-dev mailing list
> > Laszlo-dev at openlaszlo.org
> > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
> 


More information about the Laszlo-dev mailing list