6

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?

D3_JMultiply
  • 1,022
  • 2
  • 12
  • 22
Testing
  • 61
  • 1
  • 2

2 Answers2

1

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

Community
  • 1
  • 1
Favonius
  • 13,959
  • 3
  • 55
  • 95
0

http://getfirebug.com/firebuglite

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

richie
  • 2,448
  • 3
  • 19
  • 21