Re: XULRunner vs Venkman

James Ross <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <IZKdnYC9-8DVIs7ZnZ2dnUVZ_s6dnZ2d__34317.8297080614$1146339327$gmane$org@mozilla.org>
Vitaly Kuvaev wrote:
> The "debugger" keyword still doesn't make the script break into the 
> debugger, so I'm still not sure how to debug the main window.onload 
> handler, but at least I can set breakpoints in other places.

The keyword only breaks into the debugger if the debugger is already 
open and running. That means you'll have to start Venkman as the main 
window of your XUL app, and then launch your app's main window from 
Venkman (you can do window.openDialog() and stuff from the Interactive 
Session window).

-- 
James Ross <[email protected]>
ChatZilla Developer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.