[Helma-user] JS-only stack traces
Marcello Bastéa-Forte
marcello at cellosoft.com
Thu Dec 7 10:51:37 CET 2006
Here's some code for doing that I wrote for alt...
http://www.google.com/codesearch?hl=en&q=+alt+rhinoexception+show:C3OAilNvgMg:Lgw7Ip8YwCY:5kqQkjO9ABM&sa=N&cd=6&ct=rc&cs_p=svn://cellosoft.com/alt/trunk&cs_f=js/alt/dictator/ExceptionPage.js#a0
Marcello
> That's a great feature indeed!
>
> But why not going even further and making it look like this?
>
> ReferenceError: "x" is not defined.
> (/home/hannes/gobi/code/Comment/Comment.js#9)
> at /home/hannes/gobi/code/Comment/Comment.js:9
> at /home/hannes/gobi/code/Page/PageCore.js:339
> at /home/hannes/gobi/code/Page/PageMacros.js:452
> at /home/hannes/gobi/code/HopObject/macros.js:10
> at /home/hannes/gobi/code/Global/WikiMarkup.js:26
> at /home/hannes/gobi/code/Page/PageCore.js:505
> at /home/hannes/gobi/code/Page/PageCore.js:492
> at /home/hannes/gobi/code/Page/Page.js:277
>
> Jürg
>
> Am 6 Dec 2006 um 18:40 schrieb Robert Gaggl:
>
>
>> +1 for all three (the feature, adding it to helma_1_5 and making it
>> the
>> default).
>>
>> robert
>>
>> tobias.schaefer at orf.at wrote:
>>
>>>> Let me know what you think about this (including whether or not it
>>>> should be merged into helma_1_5).
>>>>
>>> definitely +1 for the feature itself and another one for merging
>>> it into helma_1_5.
>>>
>>> i even would consider adding this as the default output, and a
>>> flag (if any) for switching back to java-only stack trace.
>>>
>>> ciao,
>>> tobi
>>>
>>> _______________________________________________
>>> Helma-user mailing list
>>> Helma-user at helma.org
>>> http://helma.org/mailman/listinfo/helma-user
>>>
>> _______________________________________________
>> Helma-user mailing list
>> Helma-user at helma.org
>> http://helma.org/mailman/listinfo/helma-user
>>
>>
>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20061207/e2286642/attachment-0001.html
More information about the Helma-user
mailing list