Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Original Java Stack Trace from GWT?

Is it possible for GWT to give the stack trace for the original Java code after a crash, as opposed to the JS stack trace?

I'm using Chrome 17.

like image 510
Nick Heiner Avatar asked Jun 13 '26 20:06

Nick Heiner


1 Answers

It depends on what browser you're using at the time of the crash, but GWT has built functinality for emulating Java stack traces. Make sure you are compiling and implementing the symbolmap files in your war directory with your cache js files.

Another option is to compile with the output style set to "Detailed", and then looking at the raw javascript in any standard browser javascript console will point you to the right place in your Java code, as nearly every line in the javascript refers to a fully-qualified class name and method.

like image 53
Paul Avatar answered Jun 17 '26 06:06

Paul



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!