Why when starting GWT in debug mode, my break points don't break

前端 未结 10 1641
一向
一向 2020-12-06 05:08

I am using Eclipse 3.4.2 with the latest GWT. The IDE doesn\'t even switch to Debug Perspective automatically.

10条回答
  •  Happy的楠姐
    2020-12-06 05:34

    I was also following the StockWatcher guide on the GWT website and then got to the Debugging part of the tutorial and I could not get my breakpoints to trigger until I stumbled upon the SDBG plugin. I installed the plugin and followed the video and it worked!

    My environment:

    • Eclipse Neon.1a Release (4.6.1)
    • JDK 1.7.0_80
    • GWT SDK 2.7.0

    Additional Notes:

    Make sure to make a Debug Configuration and use com.google.gwt.dev.DevMode as your Main class.

提交回复
热议问题