[lively-kernel] Error reporting

Christopher Schuster cschuster at ucdavis.edu
Wed Feb 29 16:56:40 CET 2012


Hi -

Well, there is already an alternative to the red box.

If the system is in debug mode (World menu -> Debugging -> "Prepare system..." 
and "Start Debugging") then a debugger window will pop up when an error occurs 
instead of an error message. Running Lively like this, however, comes with a 
slight performance overhead.

A debugger will also be opened if the option "Debug Morphic Scripts" is 
enabled and the "debugger" statement is used inside a Morphic script. 
Additionally, I added an option to the world menu that enables this behavior 
for all methods in the Lively class system. But beware, this option is still 
experimental!

Christopher

> Hi Ted, Robert, Jens and all -
> 
> I too am bothered by the completely disruptive blood red text that, as often 
as not, is showing me someone else's problem.  It sure doesn't play well in 
demos.
> 
> In LK1 we had a very nice feature which was a transcript window that showed 
the console messages.  This allowed you to read the messages as long as you 
wish, let you see them without having to open browser tools and change 
windows, let you easily cut/paste/eval and especially do a -find- operation on 
any of the text, all almost for free (ie, a tiny amount of code).  This, and 
an LK debugger (and changeSets ;-) would catapult us to a higher level of 
productivity.
> 
>    - Dan
> ---------------
> On Feb 28, 2012, at 4:28 PM, Robert Krahn wrote:
> 
> > Hi, Ted --
> > 
> > when you click on error messages they will stay and every error message is 
also printed to the browser console.
> > 
> > Best,
> > Robert
> > 
> > 
> > On Feb 29, 2012, at 1:11 AM, Ted Kaehler wrote:
> > 
> >> Folks,
> >> 	I like the fact that I can ignore most errors and keep 
> >> working.  However, the red scrolling list of errors is not helping 
> >> me.  It disappears before I have a chance to read it.
> >> 
> >> How about a button that lets me keep the error window?
> >> 
> >> Or, a button that opens the browser Javascript Console (and makes it 
> >> be the minimum size at the bottom)?
> >> 
> >> --Ted.
> >> 
> >> -- 
> >> Ted Kaehler
> >> If at first you don't succeed  ...  get new batteries.    --anon
> >> Viewpoints Research Institute
> >> http://www.vpri.org/html/team_bios/kaehler.html
> >> _______________________________________________
> >> lively-kernel mailing list
> >> lively-kernel at hpi.uni-potsdam.de
> >> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> > 
> > _______________________________________________
> > lively-kernel mailing list
> > lively-kernel at hpi.uni-potsdam.de
> > http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> 
> _______________________________________________
> lively-kernel mailing list
> lively-kernel at hpi.uni-potsdam.de
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel


More information about the lively-kernel mailing list