Comments on: How To Setup a Free PHP Debugger using Eclipse PDT + XDebug http://robsnotebook.com/php_debugger_pdt_xdebug Fri, 30 Jul 2010 07:43:24 +0000 http://wordpress.org/?v=2.2.3 By: fg http://robsnotebook.com/php_debugger_pdt_xdebug#comment-82623 fg Mon, 26 Jul 2010 17:56:27 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-82623 Thank you so much - this solved the "Waiting for XDebug session" problem. Just make sure that 1) xdebug is installed 2) you found the correct php.ini (use phpinfo() to find out) 3) you edit it according to this document 4) you restart apache 5) you correctly configure your eclipse to use xdebug and not zend Thanks again Thank you so much - this solved the “Waiting for XDebug session” problem. Just make sure that 1) xdebug is installed 2) you found the correct php.ini (use phpinfo() to find out) 3) you edit it according to this document 4) you restart apache 5) you correctly configure your eclipse to use xdebug and not zend

Thanks again

]]>
By: Kojeje http://robsnotebook.com/php_debugger_pdt_xdebug#comment-82361 Kojeje Sat, 17 Jul 2010 06:43:17 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-82361 Woww... this is great tutorial yo gave me :) Nice to see this post... Woww… this is great tutorial yo gave me :)
Nice to see this post…

]]>
By: James http://robsnotebook.com/php_debugger_pdt_xdebug#comment-82130 James Fri, 09 Jul 2010 14:11:53 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-82130 Regarding the "stuck at 57%" problem when remote debuging: I changed a few things at the same time and one of them fixed it. I think it was the adding of this line in my PHP.INI file: xdebug.remote_autostart=off This forum post gave me the hint: http://stackoverflow.com/questions/1868568/xdebug-configuration-with-php-fastcgi-and-eclipse I don't think it was a port/firewall problem as reported elsewhere. James Regarding the “stuck at 57%” problem when remote debuging:

I changed a few things at the same time and one of them fixed it. I think it was the adding of this line in my PHP.INI file:
xdebug.remote_autostart=off
This forum post gave me the hint: http://stackoverflow.com/questions/1868568/xdebug-configuration-with-php-fastcgi-and-eclipse
I don’t think it was a port/firewall problem as reported elsewhere.
James

]]>
By: Crispen http://robsnotebook.com/php_debugger_pdt_xdebug#comment-81732 Crispen Sun, 27 Jun 2010 20:48:36 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-81732 @SBG, @Steve, and @cirpo, This was exactly the problem I was having and the solution seems to have been those config lines from the first code sample. If you haven't already gotten those lines in and configured to your install, I'd recommend doing so. If you have, then I'm not sure what else to recommend. @SBG, @Steve, and @cirpo, This was exactly the problem I was having and the solution seems to have been those config lines from the first code sample. If you haven’t already gotten those lines in and configured to your install, I’d recommend doing so. If you have, then I’m not sure what else to recommend.

]]>
By: Crispen http://robsnotebook.com/php_debugger_pdt_xdebug#comment-81731 Crispen Sun, 27 Jun 2010 20:46:28 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-81731 Hey, I've recently gotten a brand new machine and had to do a full build from the ground up. I'm a WAMP user so I built that just fine, then rebuilt it, then buit Xampp instead, then built the zend server CE. Nothing was giving me what I wanted for a debug until I got to this page and rebuilt WAMP with your config directives from the first code sample. Finally this worked. I don't think I would have ever gotten there without your code. Cheers, thanks for the great share! Hey,
I’ve recently gotten a brand new machine and had to do a full build from the ground up. I’m a WAMP user so I built that just fine, then rebuilt it, then buit Xampp instead, then built the zend server CE. Nothing was giving me what I wanted for a debug until I got to this page and rebuilt WAMP with your config directives from the first code sample. Finally this worked.

I don’t think I would have ever gotten there without your code. Cheers, thanks for the great share!

]]>
By: cirpo http://robsnotebook.com/php_debugger_pdt_xdebug#comment-81628 cirpo Thu, 24 Jun 2010 21:49:31 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-81628 @SBG and @Steve Same problem here, did you find any solution? thanks, cirpo @SBG and @Steve

Same problem here, did you find any solution?

thanks,

cirpo

]]>
By: patel http://robsnotebook.com/php_debugger_pdt_xdebug#comment-81120 patel Thu, 10 Jun 2010 09:46:37 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-81120 I am new to php.downloaded eclipse pdt all requirement.debuginb weberp project. debuging ok upto weberp logon screen. but it is termanting automaticaly. Means not waiting for logon credential. if somebody have weberp then it is terminating after exit command. php script is as below. if (!isset($_POST['UserNameEntryField']) or $_POST['UserNameEntryField'] == '') { include($PathPrefix . 'includes/Login.php'); exit; } I am new to php.downloaded eclipse pdt all requirement.debuginb weberp project. debuging ok upto weberp logon screen. but it is termanting automaticaly. Means not waiting for logon credential. if somebody have weberp then it is terminating after exit command. php script is as below.
if (!isset($_POST[’UserNameEntryField’]) or $_POST[’UserNameEntryField’] == ”) {
include($PathPrefix . ‘includes/Login.php’);
exit;
}

]]>
By: Oliver Yang http://robsnotebook.com/php_debugger_pdt_xdebug#comment-80851 Oliver Yang Wed, 02 Jun 2010 12:35:33 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-80851 I found that the information of breakpoint that should be caught by xdebugger is caught by the error control windows.The caught information is as follows: Proxy: someone tries to connect That is really strange! I found that the information of breakpoint that should be caught by xdebugger is caught by the error control windows.The caught information is as follows:
Proxy: someone tries to connect

That is really strange!

]]>
By: Jatinder http://robsnotebook.com/php_debugger_pdt_xdebug#comment-80655 Jatinder Fri, 28 May 2010 13:30:13 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-80655 It was quick and easy guide, thank you very much!! It was quick and easy guide, thank you very much!!

]]>
By: Steve http://robsnotebook.com/php_debugger_pdt_xdebug#comment-80615 Steve Thu, 27 May 2010 12:03:14 +0000 http://robsnotebook.com/php_debugger_pdt_xdebug#comment-80615 @SBG - I see the same thing. Walked through all of the steps several times, all seems to be good, but I never get into debug either. @SBG - I see the same thing. Walked through all of the steps several times, all seems to be good, but I never get into debug either.

]]>