Moving to new location on wordpress
. They seems to provide much better functionality for editing and statistics
Friday, October 30, 2009
Sunday, October 4, 2009
disable venkman output to console
Venkman produces a lot of output to console which makes it hard to see the output from your extensions. To disable output from venkman, you can update venkman_utils.js in venkman.jar by replacing dd function with an empty function dd = function (){};
debug output from firefox extension
Start firefox with -console flag
Call dumpln function from your code (copy of code from venkman)
Call dumpln function from your code (copy of code from venkman)
var dumpln;
if (typeof document == "undefined") /* in xpcshell */
{
dumpln = print;
}
else
{
if (typeof dump == "function") {
dumpln = function (str) {dump (str + "\n");}
} else if (jsenv.HAS_RHINO) {
dumpln = function (str) {
var out = java.lang.System.out;
out.println(str); out.flush();
}
}
else {
dumpln = function () {} /* no suitable function */
}
}
Subscribe to:
Posts (Atom)