View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000741 | Xdebug | Uncategorized | public | 2011-10-24 23:00 | 2014-02-27 20:10 |
Reporter | nnmatveev | Assigned To | derick | ||
Priority | high | Severity | major | Reproducibility | have not tried |
Status | resolved | Resolution | won't fix | ||
Summary | 0000741: Unable to rich more value children level than 'max_depth' when obtain value from 'eval' command | ||||
Description | The issue appears if you use 'evaluate expression' feature in the IDE and need to open more children levels than configured in 'max_depth'. We use the minimum possible 'max_depth' value as it speed ups stepping (we reload stack frames data on every step using 'context_get' command). The only way - re-evaluate the whole expression. We need to have some kind of global cache of all evaluated values and clean it after each step. | ||||
Steps To Reproduce | Consider the following script: Eval 'foo()' expression when you will reach a breakpoint. | ||||
Additional Information | In PhpStorm we implemented a workaround for this problem and maintains our own evaluation cache in global variable $GLOBALS['IDE_EVAL_CACHE']. See attached xdebug log for more details. We assign an unique array key for every evaluated expression. When user ask for more children level we actually invoke property_get command for the expression substitutor. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | |||||
PHP Version | 5.3.8 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-24 23:00 | nnmatveev | New Issue | |
2011-10-24 23:00 | nnmatveev | File Added: xdebug.log | |
2014-02-27 20:10 | derick | Note Added: 0002726 | |
2014-02-27 20:10 | derick | Status | new => resolved |
2014-02-27 20:10 | derick | Resolution | open => won't fix |
2014-02-27 20:10 | derick | Assigned To | => derick |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |