croczilla.com 
 home   zap   svg   xtf   jssh   bits&pieces   blog   personal   
  home > zap > lists > zap-devel > Archive > 2006 > 2006-06 > Re: [zap-devel] traces / Alex Fritze <alex@croczilla.com>

zap-devel mailing list

To subscribe, send a mail with subject 'subscribe' to zap-devel(at)croczilla.com. Likewise, to unsubscribe, send a mail with subject 'unsubscribe' to zap-devel(at)croczilla.com.

[ << ] [ >> ]

[ traces / "jean-michel gens" ... ] [ mac OS X build newbie issues / Saul Albert ... ]

Re: [zap-devel] traces
Alex Fritze <alex(at)croczilla.com>
2006-06-25 19:44:51 [ FULL ]
Hi Jean-Michel,

jean-michel gens wrote:[...]
It is not very sophisticated, but the output of 
ErrorReporter::_dump()/_assert()/_warning() (see 
mozilla/zap/base/ClassUtils.js) goes into zap.log in the profile dir. 
You can "tail -f" zap.log file, or uncomment the line 
"wErrorReporterSink.reporterFunction = ..." in 
mozilla/zap/client/content/zap.js around line 112 to get the output into 
the console.
There is also a function ErrorReporter::_backtrace() that gives you a 
trace of the js stack.

Cheers,
Alex

MailBoxer