开发者

How to enable embedded javascript debugger in SWT browser?

开发者 https://www.devze.com 2023-03-10 00:44 出处:网络
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 ha

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

How to enable embedded javascript debugger in SWT browser?


http://getfirebug.com/firebuglite

Guess that you should try to add the firebug code to your script tag

0

精彩评论

暂无评论...
验证码 换一张
取 消