Hi Jason, I have tried to compare my old projec with a newly created one that actually debugs. They seem to have the exact same configuration settings. And all the URL's in the Development Mode tab view is postfixed with "?gwt.codesvr=127.0.0.1:9997"
I have placed breakpoints in the classes that i know are being covered when the application is running. Including in the onModuleLoad method. Im sure that im launching corectly in debug mode. The application runs fine (very fast :) but i cant really continue my development before im able to debug again. I have thought about moving the code by hand into a new project so that i can get back to debugging. But i dont like the idea of having to make that exercise every time a new Eclipse plugin gets released. Ulrik On Wed, Apr 21, 2010 at 4:46 PM, Jason Parekh <[email protected]> wrote: > Hey Ulrik, > > Ok, let's make sure a few other things are set properly: > > - Is the JRE used by the old web app's launch configuration the same as the > new app's launch configuration? (Run > Debug Configurations, click on the > app on the left, then JRE tab) > - Is your old web app redirecting in such a way that the "?gwt.codesvr= > 127.0.0.1:9997" would get dropped? Basically, for debugging to work, that > parameter must always exist as you traverse through your web app (so it must > be preserved as you click on links, etc.) > - Where is your breakpoint set? If it's in an anonymous inner class, there > are generally issues with those getting dropped sometimes. Could you try > one in onModuleLoad? > - And just to make sure, the old web app is being launched via Debug As or > the Debug Configurations (instead of Run As or Run Configurations)? > > jason > > On Mon, Apr 19, 2010 at 6:13 PM, Ulrik Sorber <[email protected]> wrote: > >> Jason: >> >> This is my URL: >> http://127.0.0.1:8888/MyPage.html?gwt.codesvr=127.0.0.1:9997<http://127.0.0.1:8888/vehicles.html?gwt.codesvr=127.0.0.1:9997> >> >> <http://127.0.0.1:8888/vehicles.html?gwt.codesvr=127.0.0.1:9997>The page >> runs fine in debug mode, except it doesn't stop at any of my breakpoints. >> Hence no debugging :( >> >> I have tried to compare my project with a newly created (debuggable) >> project, but i cant find any discrepancies. >> But the must be a reason why my older projects wont debug. Just cant >> figure out what it is. >> >> Thanks >> >> >> On Mon, Apr 19, 2010 at 7:53 PM, Jason Parekh <[email protected]>wrote: >> >>> Which URL are you opening from your browser? It should have >>> the "?gwt.codesvr=127.0.0.1:9997" (perhaps with a different value) at >>> the end of it, is that the case? >>> >>> jason >>> >>> >>> On Sat, Apr 17, 2010 at 10:14 AM, GAE_User <[email protected]> wrote: >>> >>>> Since GAE changed debugging from the stand alone test browser to using >>>> browser plugins i have not been able to debug my old projects. >>>> The project runs fine, but are just not able to debug. >>>> When creating new projects, debugging does works. Eclipse takes focus >>>> when the program cursor hits a breakpoint and debugging works as >>>> usual. >>>> >>>> How do i make my old projects debuggable again? >>>> >>>> PS. >>>> >>>> GWT version: 2.0.3 >>>> GAE version: 1.3.2 >>>> Eclipse version: Galileo 3.5 >>>> Web browser: Chrome + GWT Developer Plugin - Version: 1.0.7263 >>>> >>>> I have updated my VM arguments to: >>>> -javaagent:"MyLocalPath"\eclipse\plugins >>>> \com.google.appengine.eclipse.sdkbundle. >>>> 1.3.1_1.3.1.v201002101412\appengine-java-sdk-1.3.1\lib\agent\appengine- >>>> agent.jar >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine for Java" group. >>>> To post to this group, send email to >>>> [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]<google-appengine-java%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/google-appengine-java?hl=en. >>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google App Engine for Java" group. >>> To post to this group, send email to >>> [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<google-appengine-java%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-appengine-java?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-appengine-java%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-appengine-java?hl=en.
