[Vimperator] How to debug firefox extensions?
Martin Stubenschrott
stubenschrott at gmx.net
Wed Apr 25 02:28:22 PDT 2007
On Tue, Apr 24, 2007 at 10:30:05PM -0600, Lee Hinman wrote:
> Looks like Vimperator still doesn't work past version 0.3 on Mac, does
> anyone know how I would go about debugging the extension? I haven't ever
> debugged an extension before.
Debugging extensions really is a lot paint unfortunatly :(
I do it by first passing all changed files to
http://www.javascriptlint.com/online_lint.php
Then if this still doesn't give me an syntax error (warnings are fine),
you really must comment out code piece by piece, and see when it works.
Of course there are javascript debuggers, but they never worked really
good for me.
> When firefox loads, the top menu and navigation bar is shown, the bar on
> the bottom is 10 times as large as it should be and no Vimperator
> commands/keys work at all.
That's a clear sign, the firefox doesn't like the extenstion. When
updating to the CVS version, did you first uninstall the old 0.3
version?
Because we changed the vimperator-guid, there would show up 2
vimperators in the :addons list.
I am sorry for the inconvienience, I really don't know what could have
caused this problem on Mac :( But I would be delighted to see the cause
of the problem and fix it.
--
Martin
More information about the Vimperator
mailing list