Re: debug XUL in a Thunderbird 3 extension with venkman

Colby Russell <[email protected]> Thu, 04 Mar 2010 01:05:52 -0600
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
On 02/18/2010 01:53 PM, mgleich wrote:
> I can start the venkman addin over Menu/Extras/JavaScript Debugger but
> it don't display any thing of my extension.

Do you have any windows of your extension open? If so, you should be 
able to find your files in the "Open Windows" tab or the "Loaded 
Scripts" tab of Venkman. Or, you can use "Open Web Location" from the 
File menu and just type in a chrome URI instead of a URL.

> I have inserted<script src="chrome://venkman/content/venkman-
> overlay.js" />  inside the window tag of the the main xul file of my
> extension. Additionally I have a new button inserted with...

You don't need to do any of this if you're debugging in a host 
application that Venkman supports, like Thunderbird. See above.

-- 
Colby Russell