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

List:       kde-devel
Subject:    Re: howto debug javascript
From:       mweilguni () kde ! org
Date:       2005-01-30 7:09:34
Message-ID: 200501300809.34421.mweilguni () kde ! org
[Download RAW message or body]

Am Samstag, 29. Januar 2005 11:31 schrieb David Faure:
> On Saturday 29 January 2005 09:40, mweilguni@kde.org wrote:
> > It's been a long time since I last developed for KDE, so maybe you can
> > get me some help. I want to track down a bug (this one
> > http://bugs.kde.org/show_bug.cgi?id=96315), is there some sort of
> > debugging framework for testing this stuff without invoking konqueror?
>
> For pure javascript parsing, you can use kdelibs/kjs/testkjs (use "make
> testkjs" to create it) and give it a .js file (remove all HTML around the
> js script).
>
> Otherwise I usually enable KJS_VERBOSE in kjs/global.h and recompile
> kjs+khtml, then run the page in konqueror. But for #96315 it looks like
> it's pure JS stuff.

Bad luck so far at reproducing this. It's perfectly reproducable on two 
machines with gentoo ebuilds (3.3.1 and 3.4.0_beta1), compiling from cvs 
shows no problem, even if compiled with the same settings. The most 
interesting part is that when I output timestamps in the script at the 
beginning and end, both have approximatly the same value even when it takes 
30 seconds to load the page, so not the javascript itself is slow, but 
loading/parsing.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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