Breakpoints not breaking [message #551041] |
Wed, 04 August 2010 19:21  |
Eclipse User |
|
|
|
I'm running PDT 2.2.0 on Helios.
I've been happily xdebugging for a couple of weeks since upgrading to Helios. Yesterday, for no apparent reason, breakpoints started misbehaving. They will work for a while after firing up Eclipse, but then simply stop breaking.
I can see the debugger running, i.e. the Debug view shows the sessions hitting Eclipse, and 'netstat' shows the connections, but breakpoints just quit breaking.
I also noticed that if I engage the "Show Breakpoints Supported by Selected Target" button in the Breakpoint view, all my PHP breakpoints disappear from the list.
I've also just noticed that when I fire up the Debug As (PHP Web Page), sometimes it sticks at 57%, which seems to be something other folk have noticed, and indicates Eclipse is waiting for the debug session.
Nothing else is running on port 9000. I took my dbgpproxy out of the loop and am now connecting directly from the server to Eclipse. I've tried removing all breakpoints, quitting and restarting Eclipse.
The workspace is new, I recreated everything from scratch when I upgraded from Galileo (due to the workspace upgrade crashing). So I don't think this is a problem others have seen with breakpoint file location issues between Galileo and Helios.
The only thing I did which could possibly have had an effect was, I added another project to my workspace, and enabled JS debugging on it. This is the first time I've enabled JS debugging in Eclipse. I've since removed that project, but it doesn't seem to have helped.
This is driving me crazy ... having to restart Eclipse every 10 or 15 minutes is eating up half my time ... any suggestions gratefully received!
-- hugh
|
|
|
Re: Breakpoints not breaking [message #551078 is a reply to message #551041] |
Thu, 05 August 2010 03:07   |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
Can you get an xdebug log when the breakpoints fail ? It might show what
the problem is for that. Not sure yet about a debug session not
connecting, did you still get the problem once you took the proxy out of
the equation ?
Dave
On 05/08/2010 00:21, Hugh Messenger wrote:
> I'm running PDT 2.2.0 on Helios.
>
> I've been happily xdebugging for a couple of weeks since upgrading to
> Helios. Yesterday, for no apparent reason, breakpoints started
> misbehaving. They will work for a while after firing up Eclipse, but
> then simply stop breaking.
>
> I can see the debugger running, i.e. the Debug view shows the sessions
> hitting Eclipse, and 'netstat' shows the connections, but breakpoints
> just quit breaking.
>
> I also noticed that if I engage the "Show Breakpoints Supported by
> Selected Target" button in the Breakpoint view, all my PHP breakpoints
> disappear from the list.
>
> I've also just noticed that when I fire up the Debug As (PHP Web Page),
> sometimes it sticks at 57%, which seems to be something other folk have
> noticed, and indicates Eclipse is waiting for the debug session.
>
> Nothing else is running on port 9000. I took my dbgpproxy out of the
> loop and am now connecting directly from the server to Eclipse. I've
> tried removing all breakpoints, quitting and restarting Eclipse.
>
> The workspace is new, I recreated everything from scratch when I
> upgraded from Galileo (due to the workspace upgrade crashing). So I
> don't think this is a problem others have seen with breakpoint file
> location issues between Galileo and Helios.
>
> The only thing I did which could possibly have had an effect was, I
> added another project to my workspace, and enabled JS debugging on it.
> This is the first time I've enabled JS debugging in Eclipse. I've since
> removed that project, but it doesn't seem to have helped.
>
> This is driving me crazy ... having to restart Eclipse every 10 or 15
> minutes is eating up half my time ... any suggestions gratefully received!
>
> -- hugh
>
>
|
|
|
Re: Breakpoints not breaking [message #551106 is a reply to message #551078] |
Thu, 05 August 2010 05:22   |
Eclipse User |
|
|
|
Eclipse User wrote on Thu, 05 August 2010 03:07 | Originally posted by: dkel50.hotremovemail.com
Can you get an xdebug log when the breakpoints fail ? It might show what
the problem is for that. Not sure yet about a debug session not
connecting, did you still get the problem once you took the proxy out of
the equation ?
|
Well, right now this is being a classic Heisenbug. Pretty much as soon as I posted, my BP's started working again.
But to answer your question, no, taking the dbgpproxy out of the equation had no effect. I've since re-instated it, as I need it 'cos I also use Komodo IDE on another machine for some other PHP project work.
The only change I made which may have had some effect was ... I noticed some port 9000 connections to an IP in China:
TCP 192.168.1.201:9000 222.186.13.212:8108 ESTABLISHED
TCP 192.168.1.201:9000 222.186.13.212:30311 ESTABLISHED
TCP 192.168.1.201:9000 222.186.13.212:34798 ESTABLISHED
TCP 192.168.1.201:9000 222.186.13.212:39317 ESTABLISHED
TCP 192.168.1.201:9000 222.186.13.212:48936 ESTABLISHED
... so I tightened up the port forwarding on my router, and changed "Accept Remote Session (JIT)" from "Any" to "prompt". It seemed to be shortly after I did this that my problem with BP's went away.
If this problem happens again, I'll post the xdebug.log.
-- hugh
|
|
|
|
|
|
Re: Breakpoints not breaking [message #551864 is a reply to message #551733] |
Mon, 09 August 2010 16:22  |
Eclipse User |
|
|
|
My debugging seems to have settled down again. It's bizarre ... I've been running Helios for about a month now, and xdebug has worked perfectly for all but a couple or three days, where it suddenly started exhibiting major strangeness.
If this problem starts again, I'll take a look at the wire (probably using tcpdump on the server side) and let you know what is actually being sent from the server.
-- hugh
|
|
|
Powered by
FUDForum. Page generated in 0.05472 seconds