[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: RE: HeirMenus Status Report
From: "David Joham" <djoham () criadvantage ! com>
Date: 2001-08-02 5:51:42
[Download RAW message or body]
<<
snip
The best way to figure what triggered this type error, is to uncomment
#define KJS_VERBOSE in kjs/internal.h
and to uncomment the kdDebug calls in the second executeScript()
in kdelibs/khtml/khtml_part.cpp.
This way, you see what's being executed (the whole script), and then
you get a trace of each call being made. You'll at least see which JS
code=20
gives the type error.
Maybe you still won't be able to fix it, but at least that'll be more
info
for those who might be able to fix it ;)
>>
David, is there any way to do a memory dump or something that will show
me a DOM tree and all of the properties of the objects in it? What's
happening is an object reference is getting lost somewhere, but I can't
figure out where. It would be nice to tell Konqueror to do a dump of
everything in the DOM tree (and all their properties, including custom
JavaScript ones) to the console.
Lastly, this may be a stupid question, but I assume the kdDebug sends to
stderror? How do you trap that and redirect it to a file?
Thanks
David
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic