Maybe not the greatest amount of help, but look into your Debug
Configurations first.  Click the down arrow next to the debug "bug"
icon, and second from the bottom should be "Debug Configurations..."
You should have a Web Application configuration (make sure it has the
blue Google G) in the tree on the left.  You should have a leaf under
that labeled "GWTTestProject" or what ever you named your project.
Click that to reveal the configuration (Eclipse sometimes takes you
right here, so the previous couple of steps might be unnecessary).  On
the first tab you should have a reference to your project.  And the
"run built in server" box should be checked and is probably set for
port 8080 (at least that's how mine is).  Unless I'm really on a deep
fishing expedition, I don't look any further on the remaining tabs....
(And I'm doing this from memory on the bus on my phone).  I was just
using my set up to run the test project not 20 minutes ago and it was
breaking right on sendNameToServer.  I did think of one other thing,
make sure you set your break point on an executable line of code, not
the method declaration line but like the first line in the method.
Eclipse is funny that way....



On Aug 27, 10:40 am, "[email protected]" <[email protected]>
wrote:
> Hi,
>
> I am new to GWT and eclipse (I have done some Java programming in the
> past - long time back though :)).
> I am running into an issue regarding debugging.
>
> S/W versions:
> - Google Plugin -> 1.1.0
> - GWT SDK -> 1.7.0
> - Eclipse -> 3.5
>
> When i register a break point, it gets registered properly.
> I can go to the Debug Perspective and my breakpoint shows up in the
> Breakpoints list.
> (I can also see the small blue dot.)
>
> However, the Debugger never halts on the breakpoint.
> Execution just runs past it.
>
> I have tried launching the debug mode in various ways.
> - Thru the "bug like" shortcut in the tool bar
> - Right Click on Package -> Debug As -> Web Application
> - Right Click *.gwt.xml -> Debug As -> Web Application
>
> I am playing with the default application created when you create a
> new project (Web Application Starter Project).
> and i have tried setting breakpoints in onModuleLoad and
> sendNameToServer.
> I have also written the sample StockWatcher app. Unable to debug it as
> well.
>
> Any tips would be appreciated.
>
> Regards,
> Divya
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to