[support] xdebugger

Iain Wiseman iwiseman at bibble.co.nz
Sat Sep 17 13:56:31 UTC 2011


Hi,

Trying to get a debugger working using a default install of Ubuntu 
(lucid) 10.04

- Installed eclipse
- Installed xdebug
- tar -zxvf drupal to /var/www/drupal-7.0

The debugger does stop at

define('DRUPAL_ROOT', getcwd());

In index.php

However it does not stop in my module.

To create the eclipse project I
- created a project called drupal-7.0
- created a soft link to /var/www/drupal-7.0
- added breakpoints to my module in 
~/workspace/drupal-7.0/sites/all/modules/iain/iain.module

But it does not stop at the breakpoints

I noticed that the filename for index.php is drupal-7.0/index.php and 
the filename for the module is a fully qualified path e.g. 
/home/user/workspace/drupal-7.0/sites/all/modules/iain/iain.module

Thanks
Iain





More information about the support mailing list