[xdebug-general] Eclipse Helios & PHP 5.3.5

From: Thomas Robertz <thomas.robertz[@]googlemail.com>
Date: Wed, 13 Apr 2011 13:31:27 +0200

Hi

I can't get debugging to work with Eclipse Helios and PHP 5.3.5 on Windows 7.
The debugging process goes through the motions, but breakpoints are never hit.

It opens a web page, for example:

http://localhost/prototypes/testproject/index.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=13027938295631

The whole page is rendered, but the launcher gets stuck at 57%.
When I terminate the process, a new page is opened, for example:

http://localhost/prototypes/testproject/index.php?XDEBUG_SESSION_STOP_NO_EXEC=ECLIPSE_DBGP&KEY=13027938295631

That says "DEBUG SESSION ENDED"

I followed the instructions (Which did work for Eclipse Galileo and PHP 5.2)
E.g. pasted the output of phpinfo and then downloaded the dll
(php_xdebug-2.1.1-5.3-vc6), put that in

  c:\xampp\php\ext

and added a line to php.ini:

  zend_extension = "C:\xampp\php\ext\php_xdebug-2.1.1-5.3-vc6.dll"

then, restarted apache.

phpinfo says:

  Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
      with Xdebug v2.1.1, Copyright (c) 2002-2011, by Derick Rethans

In eclipse it is set up:

PHP/Debug
  PHPDebugger: XDebug (Port 10000)
  Server: Default PHP Web Server
  PHP Executable: PHP5 (executable path=c:\xampp\php\php.exe; php
ini=c:\xampp\php\php.ini; Sapi=CLI; Debugger=XDebug)

PHP Interpreter
  PHP Version: PHP 5.3

PHP Servers:
  Default PHP Web Server (http://localhost)

The debug configuration is set up as follows:

Type: PHP Web Page
Server Debugger: XDebug
PHP Server: Default PHP Web Server
File: /prototypes/testproject/index.php
Break at First Line: checked
Auto Generate: checked (http://localhost/prototypes/testproject/index.php)

Under Advanced "Open in Browser" is checked and option is "Debug All Pages"

Did I miss something?
Received on Wed Apr 13 2011 - 12:31:48 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST