How to enable embedded javascript debugger in SWT browser?
I want 开发者_运维问答to embed a JavaScript debugger in a SWT browser.
I'm using the SWT.MOZILLA flag for creating the browser. Since the JavaScript application I'm loading is complex, I need to have some JS debugger (any is suitable: firebug, venkman).
So, is there any way to embed a JS debugger in a browser widget?
I've heard about firebug-lite, but I don't know how to configure it in SWT. Could you give some working example?
See my answer on Using Firebug Lite in SWT Browser. The code snippet works with XULRunner 10.0.2 and Eclipse 4.2.
Output for XULRunner
http://getfirebug.com/firebuglite
Guess that you should try to add the firebug code to your script tag
精彩评论