Domanda

Im trying to identify which code from the client is calling a gwt rpc service but the stack on my debug view in eclipse doesnt show me the caller for the service.

Is there a way to figure it out this??

Thank you !

È stato utile?

Soluzione 2

In eclipse go to your interface .class file. On press Ctrl+Shift+G. This will show you all occurrences of the interface and you can put breakpoints to all occurences.

Shortcut Ctrl+Shift+G work also with methods of inteface.

Altri suggerimenti

If it's coming from your client side code, you can put a break point on the method signature in your <SERVICE_NAME>Async.java interface. Debugging should hit the break-point as long as you're running with the gwt codeserver.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top