View Issue Details

IDProjectCategoryView StatusLast Update
0000622XdebugStep Debuggingpublic2020-03-12 17:36
Reporterericp Assigned Toderick  
Status closedResolutionfixed 
Product Version2.1.0 
Summary0000622: Working with eval() code is inconvenient and difficult

Given this code:

$text = <<<EOD
function foo(\$a1, \$b1) {
echo("In foo\n");
return \$a1 = \$b1;
$res = foo(3, 4)

Stepping into the eval code shows one long line of code, in a separate

function foo(\$a1, \$b1) {\n echo("In foo\n");\n return \$a1 = \$b1;\n}

When I step into foo(3, 4), xdebug can't get the buffer

Steps To Reproduce

Create a PHP buffer with the above kind of code in Komodo
(or another IDE that uses Xdebug and can support stepping
into eval code). Step into the above two lines, and
observe what happens.

Additional Information

See Komodo bug

Note that this fix depends on the patch in

TagsNo tags attached.
Operating System
PHP Version5.3.3



2011-07-27 21:04

administrator   ~0001765

Fixed for 2.1.2 and 2.2.0.

Issue History

Date Modified Username Field Change
2010-09-27 20:32 ericp New Issue
2011-07-27 21:04 derick Note Added: 0001765
2011-07-27 21:04 derick Status new => closed
2011-07-27 21:04 derick Assigned To => derick
2011-07-27 21:04 derick Resolution open => fixed
2020-03-12 16:55 derick Severity minor => feature
2020-03-12 17:36 derick Category Feature/Change request => Step Debugging