How to debug JSNI method in GWT?

I have a GWT application containing some JSNI methods. I get an exception from within. How can I debug a method in the IDE or through a browser?

+4
source share
2 answers

If you are using 2.5.x, configure and run the project in superdev mode . Turn on the Chrome browser to use the source maps. Finally, you will be taken to the exception bar in the debug console of your browser.

+5
source

Getting Started @Thomas Broyer HERE (If you use Chrome )

If you have an exception in JSNI code, you can ask Chrome "stop all" exceptions "and you will see your JSNI code and be able to enter it. You can also try" pause script execution ".

PS: I have not tried. Just a hint to push you further.

0
source

All Articles