How to enable javascript built-in debugger in SWT browser?

I want to embed a JavaScript debugger in a SWT browser.

I use the SWT.MOZILLA flag to create a browser. Since the JavaScript application that I download is complex, I need to have a JS debugger (any of which is suitable: firebug , venkman ).

So, is there a way to insert a JS debugger into a browser widget?

I heard about firebug-lite , but I don't know how to configure it in SWT. Could you give some working example?

+6
source share
2 answers

See my answer on Using Firebug Lite in a SWT browser . The code snippet works with XULRunner 10.0.2 and Eclipse 4.2.

Exit for XULRunner

enter image description here

+1
source

http://getfirebug.com/firebuglite

Guess you should try adding firebug code to your script tag

0
source

Source: https://habr.com/ru/post/889694/


All Articles