Debug/view source of GWT generated java code

前端 未结 2 487
终归单人心
终归单人心 2021-01-13 12:18

What are my options for being able to view the generated code from my custom GWT generator (com.google.gwt.core.ext.Generator).

I have been compleplating creating m

2条回答
  •  既然无缘
    2021-01-13 12:44

    Alternate option is to debug the GWT compilation process which actually calls your generator's generate() method. You can setup a breakpoint at the beginning of your generate() method, and then step through it and inspect what's going on.

    For further information on how to do it, you can look into the following:

    http://lazyrhino.blogspot.de/2013/10/gwt-generator-part-3-debugging-generation.html

提交回复
热议问题