Maybe try Debug As instead of Run As, also make sure the ? gwt.codesvr=... parameter is in your browser's url
On Jun 4, 12:45 pm, yves <[email protected]> wrote: > Hi Everybody, > > In GWT 2 Dev Mode, I can't make the breakpoints work in eclipse : > client app doesn't stop on any breakpoint. > My config is: GWT 2.0.3, Eclipse 3.4.2 + GWT Plugin 1.3.2, JDK > 1.6.0_20. Firefox 3.6.3 (+ FF GWT Plugin) > > As I suspected something wrong in the structure of my project in > eclipse, I tried with the GWT sample Hello. > Thus, after running "ant eclipse.generate" on Hello, I imported Hello > into Eclipse. > > Here is an extract of the client code: > > public void onModuleLoad() { > Button b = new Button("Click me", new ClickHandler() { > public void onClick(ClickEvent event) { > Window.alert("Hello, AJAX"); > } > }); > > I put 2 breakpoints on lines "Button b = ..." and "Window.alert..." > > I tried 2 ways to run the dev mode. > First way: select the file Hello.launch and then Run (Ctrl+F11). This > opens the "GWT Development Mode" shell. > Second way: In Properties window check the option "Use Google Web > Toolkit", then select menu Run As Web Application. This opens the > "Development Mode" eclipse tab. > > During both trials I could play with the application running into the > browser, and the breakpoints didn't worked in eclipse. > > Does anybody could help me find what is wrong ? > > Thanks > Yves -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
