View Issue Details

IDProjectCategoryView StatusLast Update
0000546XdebugStep Debuggingpublic2021-04-14 16:09
Reporterfolivore Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
Product Version2.0.0dev 
Summary0000546: None of debug clients are able to see variables produced by php "extract()" function
Description

None of debug clients are able to see variables produced by php "extract()" function if these variables are not used somewhere in the current scope.
I checked this issue with Eclipse, Netbeans, Notepad++ dbg-plugin and XDebugClient, using XDebug v2.1.0-dev and PHP 5.2.5.

I don't know whether it depends on xdebug or not, but if it does somehow it would be nice to inform a debug client to show variables produced by call of extract() function.

TagsNo tags attached.
Operating System
PHP Version5.2.5

Relationships

has duplicate 0001399 resolvedderick Dynamic variables not reported 

Activities

cliffo4

2014-12-08 14:56

reporter   ~0002930

Have also seen this problem with 2.2.6 on php 5.4.35 - using netbeans, hover over the variable name that newly created by extract(), it does not returns any visible value, but the debugging works / shows correct flow.

Chealer

2017-08-14 15:45

reporter   ~0004395

This affects PhpStorm (2017.2.1).

Can the severity be revised? This causes the debugger to fail to show defined variables, implicitly sending the messages that these are not set. I would not qualify misleading developers about the state of a variable in a very frequent scenario as a minor issue.

derick

2021-03-17 09:37

administrator   ~0005765

Is this issue still relevant to you?

derick

2021-04-14 16:09

administrator   ~0005841

Closing this, as it is missing requested feedback.

Issue History

Date Modified Username Field Change
2010-03-05 21:02 folivore New Issue
2010-03-05 21:02 folivore PHP Version => 5.2.5
2010-03-05 21:02 folivore Xdebug Version => 2.1.0-dev
2014-12-08 14:56 cliffo4 Note Added: 0002930
2016-12-12 16:30 derick Status new => acknowledged
2016-12-12 16:30 derick Category Feature/Change request => Remote Debugging
2017-02-19 23:17 derick Relationship added has duplicate 0001399
2017-08-14 15:45 Chealer Note Added: 0004395
2020-03-12 16:33 derick Category Remote Debugging => Step Debugging
2021-03-17 09:37 derick Assigned To => derick
2021-03-17 09:37 derick Status acknowledged => feedback
2021-03-17 09:37 derick Note Added: 0005765
2021-04-14 16:09 derick Status feedback => closed
2021-04-14 16:09 derick Resolution open => won't fix
2021-04-14 16:09 derick Note Added: 0005841