Re: Eclipse - debugging gwt app

2009-06-15 Thread Alex

I had the same problem with breakpoints in Eclipse debugging GWT
application.

In my case, it was definitely problem with JDK 1.6.0_14. When I
switched to 1.6.0_11 everything was fine and my breakpoints weren't
ignored anymore.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Keith Whittingham

Dumb question but did you start your app by running it or in debug mode?
__
Keith Whittingham
Eichstrasse 3, CH-8135, Langnau am Albis
http://www.whittingham.ch
keithwhitting...@mac.com
(M) +41 79 820 6216




On Jun 9, 2009, at 1:54 PM, Peter Kirklewski wrote:


 Hi there

 I created some breakpoints and am trying to run a debug but nothing  
 happens.
 The program ends and eclipse doesnt switch to debug mode or stop on  
 the
 brakpoints.
 I have put the breakpoint on this line:System.out.println(RUNNING
 PSQLConnection());
 And I get the message in the console but the debuger doesn't stop the
 application.

 What am I dooing wrong please ?

 Best regards

 Peter

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Peter Kirklewski
There is no such ting as a dumb question mate :)

Being in Java EE perspective I right click on the project and then Debug 
As  Web Application. This gives me a browser (jetty) window from witch 
I need to click a button which starts the method I'm trying to debug.
I also tried  to open the Debug perspective and go to Run  Debug 
(Debug as = none applicable) with exactly the same effect.
The application just doesn't stop on the breakpoints.

Regards

Peter


Keith Whittingham wrote:
 Dumb question but did you start your app by running it or in debug mode?
 __
 Keith Whittingham
 Eichstrasse 3, CH-8135, Langnau am Albis
 http://www.whittingham.ch
 keithwhitting...@mac.com
 (M) +41 79 820 6216




 On Jun 9, 2009, at 1:54 PM, Peter Kirklewski wrote:


 Hi there

 I created some breakpoints and am trying to run a debug but nothing
 happens.
 The program ends and eclipse doesnt switch to debug mode or stop on
 the
 brakpoints.
 I have put the breakpoint on this line:System.out.println(RUNNING
 PSQLConnection());
 And I get the message in the console but the debuger doesn't stop the
 application.

 What am I dooing wrong please ?

 Best regards

 Peter

  


 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Keith Whittingham

You should get the first window which is titled Google Web Toolit  
Hosted Model / Port 8080 and then a second window with your  
application running in it with a Google Web Toolkit logo in the top  
right corner.

On Jun 9, 2009, at 2:07 PM, Peter Kirklewski wrote:

 There is no such ting as a dumb question mate :)

 Being in Java EE perspective I right click on the project and then  
 Debug As  Web Application. This gives me a browser (jetty) window  
 from witch I need to click a button which starts the method I'm  
 trying to debug.
 I also tried  to open the Debug perspective and go to Run  Debug  
 (Debug as = none applicable) with exactly the same effect.
 The application just doesn't stop on the breakpoints.

 Regards

 Peter


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Peter Kirklewski
I'm getting both windows in the second I click the button which triggers 
the method I want to debug.
But the program runs right to the bottom, and it's not stopping on any 
of breakpoints I've set.

Regards

Peter


Keith Whittingham wrote:
 You should get the first window which is titled Google Web Toolit
 Hosted Model / Port 8080 and then a second window with your
 application running in it with a Google Web Toolkit logo in the top
 right corner.

 On Jun 9, 2009, at 2:07 PM, Peter Kirklewski wrote:


 There is no such ting as a dumb question mate :)

 Being in Java EE perspective I right click on the project and then
 Debug As  Web Application. This gives me a browser (jetty) window
 from witch I need to click a button which starts the method I'm
 trying to debug.
 I also tried  to open the Debug perspective and go to Run  Debug
 (Debug as = none applicable) with exactly the same effect.
 The application just doesn't stop on the breakpoints.

 Regards

 Peter
  


 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Keith Whittingham

I'm really not sure what's happening. I've had a similar problem a  
while back and there was a copy of the source code somewhere that  
Eclipse was running. I was putting breakpoints in the copy code so  
that Eclipse didn't really put breakpoints in. I would have a quick  
look around your disk for the file that you're breakpointing.

__
Keith Whittingham
Eichstrasse 3, CH-8135, Langnau am Albis
http://www.whittingham.ch
keithwhitting...@mac.com
(M) +41 79 820 6216




On Jun 9, 2009, at 4:16 PM, Peter Kirklewski wrote:

 I'm getting both windows in the second I click the button which  
 triggers the method I want to debug.
 But the program runs right to the bottom, and it's not stopping on  
 any of breakpoints I've set.

 Regards

 Peter


 Keith Whittingham wrote:

 You should get the first window which is titled Google Web Toolit
 Hosted Model / Port 8080 and then a second window with your
 application running in it with a Google Web Toolkit logo in the top
 right corner.

 On Jun 9, 2009, at 2:07 PM, Peter Kirklewski wrote:


 There is no such ting as a dumb question mate :)

 Being in Java EE perspective I right click on the project and then
 Debug As  Web Application. This gives me a browser (jetty) window
 from witch I need to click a button which starts the method I'm
 trying to debug.
 I also tried  to open the Debug perspective and go to Run  Debug
 (Debug as = none applicable) with exactly the same effect.
 The application just doesn't stop on the breakpoints.

 Regards

 Peter







 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Miguel Méndez
Not sure if this is what you are seeing, but it appears that there is an
issue with JDK 1.6.0_14 that can cause breakpoints to be ignored.  Are you
using that version of the JDK/JRE?

On Tue, Jun 9, 2009 at 10:16 AM, Peter Kirklewski 
pkirklew...@gabaedevelopment.com wrote:

  I'm getting both windows in the second I click the button which triggers
 the method I want to debug.
 But the program runs right to the bottom, and it's not stopping on any of
 breakpoints I've set.

 Regards

 Peter


 Keith Whittingham wrote:

 You should get the first window which is titled Google Web Toolit
 Hosted Model / Port 8080 and then a second window with your
 application running in it with a Google Web Toolkit logo in the top
 right corner.

 On Jun 9, 2009, at 2:07 PM, Peter Kirklewski wrote:



  There is no such ting as a dumb question mate :)

 Being in Java EE perspective I right click on the project and then
 Debug As  Web Application. This gives me a browser (jetty) window
 from witch I need to click a button which starts the method I'm
 trying to debug.
 I also tried  to open the Debug perspective and go to Run  Debug
 (Debug as = none applicable) with exactly the same effect.
 The application just doesn't stop on the breakpoints.

 Regards

 Peter




 



-- 
Miguel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Vishal Singh

I am also facing the same problem. The application does not stop at
the break points.

Vishal

On Jun 9, 5:07 pm, Peter Kirklewski pkirklew...@gabaedevelopment.com
wrote:
 There is no such ting as a dumb question mate :)

 Being in Java EE perspective I right click on the project and then Debug
 As  Web Application. This gives me a browser (jetty) window from witch
 I need to click a button which starts the method I'm trying to debug.
 I also tried  to open the Debug perspective and go to Run  Debug
 (Debug as = none applicable) with exactly the same effect.
 The application just doesn't stop on the breakpoints.

 Regards

 Peter

 Keith Whittingham wrote:
  Dumb question but did you start your app by running it or in debug mode?
  __
  Keith Whittingham
  Eichstrasse 3, CH-8135, Langnau am Albis
 http://www.whittingham.ch
  keithwhitting...@mac.com
  (M) +41 79 820 6216

  On Jun 9, 2009, at 1:54 PM, Peter Kirklewski wrote:

  Hi there

  I created some breakpoints and am trying to run a debug but nothing
  happens.
  The program ends and eclipse doesnt switch to debug mode or stop on
  the
  brakpoints.
  I have put the breakpoint on this line:    System.out.println(RUNNING
  PSQLConnection());
  And I get the message in the console but the debuger doesn't stop the
  application.

  What am I dooing wrong please ?

  Best regards

  Peter



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Miguel Méndez
Does it sound like the following issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3724 .

On Tue, Jun 9, 2009 at 8:14 AM, Vishal Singh singh.vi...@gmail.com wrote:


 I am also facing the same problem. The application does not stop at
 the break points.

 Vishal

 On Jun 9, 5:07 pm, Peter Kirklewski pkirklew...@gabaedevelopment.com
 wrote:
  There is no such ting as a dumb question mate :)
 
  Being in Java EE perspective I right click on the project and then Debug
  As  Web Application. This gives me a browser (jetty) window from witch
  I need to click a button which starts the method I'm trying to debug.
  I also tried  to open the Debug perspective and go to Run  Debug
  (Debug as = none applicable) with exactly the same effect.
  The application just doesn't stop on the breakpoints.
 
  Regards
 
  Peter
 
  Keith Whittingham wrote:
   Dumb question but did you start your app by running it or in debug
 mode?
   __
   Keith Whittingham
   Eichstrasse 3, CH-8135, Langnau am Albis
  http://www.whittingham.ch
   keithwhitting...@mac.com
   (M) +41 79 820 6216
 
   On Jun 9, 2009, at 1:54 PM, Peter Kirklewski wrote:
 
   Hi there
 
   I created some breakpoints and am trying to run a debug but nothing
   happens.
   The program ends and eclipse doesnt switch to debug mode or stop on
   the
   brakpoints.
   I have put the breakpoint on this line:System.out.println(RUNNING
   PSQLConnection());
   And I get the message in the console but the debuger doesn't stop the
   application.
 
   What am I dooing wrong please ?
 
   Best regards
 
   Peter
 
 

 



-- 
Miguel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Paul Hargreaves
This bug has been around for a while in eclipse. I started using 
eclipse about three quarters of a year ago to debug a php project I was working 
on. As far as I recall, the problem occurs when you have an initial break point 
and then set a subsequent break point on another bit source which is called 
from the original source where you set the initial break point. I searched for 
ages to find a solution only to find a url that said it was a bug and nothing 
could be done at that point in time. I cannot find the url now but I did take 
me ages to find in the first place. It just meant a lot of stepping through 
code manually. It looks like no progress has been made on the problem from 
three quarters of a year ago. Sorry I can be of no help.

Paul





From: Miguel Méndez mmen...@google.com
To: Google-Web-Toolkit@googlegroups.com
Sent: Tuesday, 9 June, 2009 17:06:12
Subject: Re: Eclipse - debugging gwt app

Does it sound like the following 
issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3724 .


On Tue, Jun 9, 2009 at 8:14 AM, Vishal Singh singh.vi...@gmail.com wrote:


I am also facing the same problem. The application does not stop at
the break points.

Vishal

On Jun 9, 5:07 pm, Peter Kirklewski pkirklew...@gabaedevelopment.com
wrote:

 There is no such ting as a dumb question mate :)

 Being in Java EE perspective I right click on the project and then Debug
 As  Web Application. This gives me a browser (jetty) window from witch
 I need to click a button which starts the method I'm trying to debug.
 I also tried  to open the Debug perspective and go to Run  Debug
 (Debug as = none applicable) with exactly the same effect.
 The application just doesn't stop on the breakpoints.

 Regards

 Peter

 Keith Whittingham wrote:
  Dumb question but did you start your app by running it or in debug mode?
  __
  Keith Whittingham
  Eichstrasse 3, CH-8135, Langnau am Albis
 http://www.whittingham.ch
  keithwhitting...@mac.com

  (M) +41 79 820 6216

  On Jun 9, 2009, at 1:54 PM, Peter Kirklewski wrote:

  Hi there

  I created some breakpoints and am trying to run a debug but nothing
  happens.
  The program ends and eclipse doesnt switch to debug mode or stop on
  the
  brakpoints.
  I have put the breakpoint on this line:    System.out.println(RUNNING
  PSQLConnection());
  And I get the message in the console but the debuger doesn't stop the
  application.

  What am I dooing wrong please ?

  Best regards

  Peter







-- 
Miguel


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse - debugging gwt app

2009-06-09 Thread Miguel Méndez
Rajeev has update the issue on the GWT side and also created bugs for
eclipse and Java.  It really does appear to be a bug in the JRE.  The good
news is that there is a repro case now; hopefully it will get resolved soon.

On Tue, Jun 9, 2009 at 1:39 PM, Paul Hargreaves cbassthef...@yahoo.co.ukwrote:

 This bug has been around for a while in eclipse. I started using
 eclipse about three quarters of a year ago to debug a php project I was
 working on. As far as I recall, the problem occurs when you have an initial
 break point and then set a subsequent break point on another bit source
 which is called from the original source where you set the initial break
 point. I searched for ages to find a solution only to find a url that said
 it was a bug and nothing could be done at that point in time. I cannot find
 the url now but I did take me ages to find in the first place. It just meant
 a lot of stepping through code manually. It looks like no progress has been
 made on the problem from three quarters of a year ago. Sorry I can be of no
 help.

 Paul

  --
 *From:* Miguel Méndez mmen...@google.com
 *To:* Google-Web-Toolkit@googlegroups.com
 *Sent:* Tuesday, 9 June, 2009 17:06:12
 *Subject:* Re: Eclipse - debugging gwt app

 Does it sound like the following issue:
 http://code.google.com/p/google-web-toolkit/issues/detail?id=3724 .

 On Tue, Jun 9, 2009 at 8:14 AM, Vishal Singh singh.vi...@gmail.comwrote:


 I am also facing the same problem. The application does not stop at
 the break points.

 Vishal

 On Jun 9, 5:07 pm, Peter Kirklewski pkirklew...@gabaedevelopment.com
 wrote:
  There is no such ting as a dumb question mate :)
 
  Being in Java EE perspective I right click on the project and then Debug
  As  Web Application. This gives me a browser (jetty) window from witch
  I need to click a button which starts the method I'm trying to debug.
  I also tried  to open the Debug perspective and go to Run  Debug
  (Debug as = none applicable) with exactly the same effect.
  The application just doesn't stop on the breakpoints.
 
  Regards
 
  Peter
 
  Keith Whittingham wrote:
   Dumb question but did you start your app by running it or in debug
 mode?
   __
   Keith Whittingham
   Eichstrasse 3, CH-8135, Langnau am Albis
  http://www.whittingham.ch
   keithwhitting...@mac.com
(M) +41 79 820 6216
 
   On Jun 9, 2009, at 1:54 PM, Peter Kirklewski wrote:
 
   Hi there
 
   I created some breakpoints and am trying to run a debug but nothing
   happens.
   The program ends and eclipse doesnt switch to debug mode or stop on
   the
   brakpoints.
   I have put the breakpoint on this line:
  System.out.println(RUNNING
   PSQLConnection());
   And I get the message in the console but the debuger doesn't stop the
   application.
 
   What am I dooing wrong please ?
 
   Best regards
 
   Peter
 
 





 --
 Miguel




 



-- 
Miguel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---