Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Client Side GWT Debugging in Super Dev Mode

I was debugging a GWT in Eclipse using "Super Dev Mode", Java 8, and Eclipse Photon. I've put breakpoints in the client side of the code, but none of them seem to trigger.

I'm reading the documentation, but it appears to relate to "Legacy Dev Mode" debugging. http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html

Does anyone have any recommendations to "step through" client side code with "Super Dev Mode"?

like image 436
user1207381 Avatar asked Jan 29 '26 16:01

user1207381


1 Answers

If you use GWT's Super Dev Mode, debugging is done completely in the browser and the Super Dev Mode provides sourcemaps to know where in your "Java"-code you currently are. You have to use e.g. Chrome's Developer-Tools and set breakpoints there.

Here is a tutorial how to use the Debugging-Feature of Chrome: https://developers.google.com/web/tools/chrome-devtools/javascript/

like image 133
Halko Karr-Sajtarevic Avatar answered Feb 01 '26 07:02

Halko Karr-Sajtarevic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!