[xdebug-general] Debuging with namespaces

From: General Mail <general[@]bombshellz.net>
Date: Sat, 26 Jan 2013 15:24:48 -0500

PHP Version: PHP 5.3.15
Xdebug Version: Xdebug v2.2.1

I having problems debugging PHP code that contain namespaces, the paths
returned by Xdebug are invalid, IE:

/mnt/Workspace/ZippeeFramework2/Library/Classes/Database/Sql/Insert.php.ZF2\Database\Sql\Insert->getSqlStatement()

It should simply be
/mnt/Workspace/ZippeeFramework2/Library/Classes/Database/Sql/Insert.php.

Is there anything I can do to remedy this?

Here is partial code:

$update = new \ZF2\Database\Sql\Insert( 'Employees' );
$emp[ 'John' ] = 'Mike D.';
$emp[ 'Fat' ] = 'Skinny';
$update->values( $emp );
var_dump( $update->getSqlStatement() );

Any assistance on this matter would be really appreciate it.

- Regards
Received on Sat Jan 26 2013 - 20:32:46 GMT

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