|
|
Re: Breakpoint Step Into Banging my head against wall [message #1393310 is a reply to message #1393180] |
Thu, 03 July 2014 15:40 |
Edward P Messages: 3 Registered: June 2014 |
Junior Member |
|
|
Žilvinas,
Thank you for such a thoughtful reply.
Unfortunately, that had no effect. Since I posted my original problem, I since have tried ZendDebugger.dll and it works just fine. Knowing that ZendDebugger.dll works like a champ, I have tried many times, since, to get XDebug to work. It never does, in fact Eclipse, firefox, and everything seems to behave as if the XDebug dll is not even there. Except I know it is because the XDebug message display in the browser.
I have checked and the XDebug dll is loaded with PHP, but looks like it just is not being used or seen by Eclipse.
I am beginning the think maybe that the either the latest version of XDebug (2.2.5) has a bug that prevents it from working with my version of Kepler OR my version of Kepler has a bug that prevents it from working with XDebug. I conclude this simply due to the fact that ZendDebugger.dll works just fine. Also, I pondered perhaps XDebug is a "dead" tool and is not really being maintained for current releases of Eclipse, PHP, or who knows.
Thank goodness for ZendDebugger.dll!
If anyone has viable insight on why ZendDebugger.dll works great and XDebug seems to behaving like it is invisible to Eclipse (Kepler 20140224-0627), please let us know.
Btw, we will not be update Kepler in the middle of an active mission critical project development. We will remain on Kepler 20140224-0627 until final delivery. If noone has any ideas, the perhaps after the project is completed, we will update Eclipse to see if we can determine where the bug (if any) lies, XDebug or our version of Kepler.
Sincerely,
Edward
|
|
|
|
Re: Breakpoint Step Into Banging my head against wall [message #1393357 is a reply to message #1393336] |
Thu, 03 July 2014 17:18 |
Edward P Messages: 3 Registered: June 2014 |
Junior Member |
|
|
Žilvinas Žaltiena wrote on Thu, 03 July 2014 12:30Quick ideas:
1) double check if you load XDebug with zend_extension= and not with extension=. Former is needed for what you want to use Xdebug for. Later will give you browser output, but no breakpoints and etc.
confirmed XDebug is in php.ini with zend_extension=...also confirmed that when used with the extension= I do receive the expected browser output
2) Eclipse doesn't see XDebug, because it is not even looking for it. Eclipse as debug client is listening on specified port (i.e.9000) for incoming connections and XDebug is supposed to look for Eclipse and connect to it. In some cases this port isn't available due to firewall or some other process using it:
in Window>Preferences>PHP>Debug>Installed debuggers> Zend Debugger is assigned port 10000 and XDebug is assigned port 9000...also in php.ini file is the following line: xdebug.remote_port=9000
a) check firewall, everything is running on localhost, but Windows Firewall is turned off
b) check netstat for what is listening on what netstat -a shows listening on port 10000 and 9000
c) try using different port (Window>Preferences>PHP>Debug>Installed debuggers>XDebug + xdebug.xdebug.remote_port in php.ini). set port in both Eclipse and php.ini to 9011, same result
d) make sure security software (antivirus, selinux, apparmor and so on) does not block connection. avast turned off/disabled
Again, Perhaps XDebug is broken for my version of Kepler?
ZendDebugger consistantly works and XDebug consistently seems to be ignoring Eclipse requests.
Can imagine what might be the problem...
Edward
|
|
|
|
Powered by
FUDForum. Page generated in 0.03372 seconds