If you are following along with the Groovy Eclipse plugin, you can a breakpoint at the start of the main method and step through the code.
如果旅程中有Groovy Eclipse插件一起陪伴你,那么你可以在main方法的开始设置一个断点,并跟踪进入这个代码。
First, set a breakpoint at the call to the greet in the main method by double-clicking (not single-clicking like Netbeans) in the left margin.
首先,通过双击(而不是像Netbeans那样单击)左侧空白,在调用main方法中的greet的地方附近设置一个断点。
If you place a breakpoint inside another action method, you must use the browser to request a URL associated with that method.
如果你把一个断点放在另一个动作方法中,你必须用浏览器请求与这个动作方法相关联的URL。
应用推荐