Hello,
I just started using the superdev mode with GWT2.7 (before that I was using the normal dev mode).
I must have one issue with one of my Presenter but I can't find out how to probably debug my code.
Any suggestion?
Here is the scenario:
I reveal a Presenter with this code:
this.placeManager.revealPlace(new PlaceRequest(NameTokens.MAIN_PAGE));
This "MAIN_PAGE" presenter contains other Presenters, also containing other Presenters.
This revealPlace command fails with this message:
Breaking on exception: com.google.web.bindery.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'getColumnCount_2_g$' of undefined
(probably caused by a grid not correctly initialized)
If I run superdev mode in debug mode, I can't find out which line from the source code is really failing.
The stack is;
doFire_0_g$(SimpleEventBus.java:203) <= this is where the code ends
fireEventFromSource_1_g$(SimpleEventBus.java:96)
fireEvent_11_g$(PlaceManagerImpl.java:155)
doRevealPlace_0_g$(PlaceManagerImpl.java:130)
revealPlace_1_g$(PlaceManagerImpl.java:351)
revealPlace_0_g$(PlaceManagerImpl.java:332)
redirect_0_g$(LoginPresenter.java:169) <== this is where the revealPlace command is called.
So basically my problem is that those calls to PlaceManagerImpl are like a blackbox, and I loose track of my code...
Any idea how I could debug this (I could go back to the normal dev mode but I really want to start using the super dev mode as from now)
In the normal dev mode, such failure could be immediately fixed as the line causing the issue could be easily identified.
thanks!
Matt