Javascript debugger

Peter Kelly pmk at kde.org
Sun Feb 16 05:33:18 GMT 2003


On Sun, 16 Feb 2003, George Staikos wrote:

> On Saturday 15 February 2003 23:05, Peter Kelly wrote:
> > I decided to have a go at finishing off the javascript debugger in khtml,
> > which has been sitting there for some time but in an incomplete state.
> > Hopefully this will make troubleshooting javascript problems a bit easier.
> >
> > It's now in a (mostly) working state, and you can launch it through
> > "View->JavaScript Debugger" in konqueror, or through the debug button in
> > the javascript error dialog.
> >
> > I'm interested in any feedback people have about the UI and ease of use
> > (particularly from web developers). If you've got any ideas about how it
> > might be improved, this is a good time to let me know.
> 
> 
>   It looks interesting, but I did get a crash inside it already.  It happened 
> when clicking on an html page (which has no JS).  The crash was in 
> kjs_debugwin.cpp:797.  Perhaps it.data() or it.data()->sourceFile are 
> invalid.  I attached gdb but could not get a valid call to those.

That would be it.data(). I forgot that QMaps can contain null entries. Now 
fixed.

> 
> 

-- 
Peter Kelly
pmk at kde.org





More information about the kfm-devel mailing list