Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 763
Testing Avatar asked Jun 03 '11 13:06

Testing


1 Answers

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

enter image description here

like image 143
Favonius Avatar answered Oct 13 '22 11:10

Favonius