[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: HeirMenus Status Report
From:       Lars Knoll <knoll () kde ! org>
Date:       2001-08-02 9:01:08
[Download RAW message or body]

On Thursday 02 August 2001 07:51, David Joham wrote:
> <<
> 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
> 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?

Yes. Edit your khtml_browser.rc and remove the xml comments around the 
"debugDOMTree" action.

Lars

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic