View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000313 | Xdebug | Uncategorized | public | 2007-10-02 14:59 | 2007-11-11 17:45 |
Reporter | d_kelsey | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Platform | Windows | OS | Windows | OS Version | XP |
Product Version | 2.0.0dev | ||||
Summary | 0000313: sending an expression which cannot be evaluated at the time causes the script to stop executing | ||||
Description | Within a debug environment, a user may set up an expression to watch. This expression may or may not be valid at the time when xdebug is in break state and the eval is sent. What I would have expected from xdebug when the eval was sent was an error saying unable to evaluate, instead I get a stop status instead. | ||||
Steps To Reproduce | Execute the following script for($i = 0; $i < 5; ++$i) print " <!-- Set the breakpoint on this line -->";"; ?> break anywhere, then try to eval $myObj->myMethod(); | ||||
Additional Information | The following output is from the xdebug remote log. <- breakpoint_set -i 140 -t line -f file:///D:/Code/Java_Workspace/CustomGIKI/crashtest.php -n 9 <- feature_set -i 141 -n show_hidden -v 1 <- feature_set -i 142 -n max_depth -v 3 <- feature_get -i 143 -n max_children <- feature_get -i 144 -n encoding <- feature_get -i 145 -n supports_async <- run -i 146 <- stack_get -i 147 <- stack_get -i 148 <- eval -i 149 -- JG15T2JqLT5teU1ldGhvZCgpOw== Log closed at 2007-09-28 11:09:35 | ||||
Tags | No tags attached. | ||||
Operating System | Windows XP | ||||
PHP Version | 5.2.1 | ||||
|
I have noticed the same problem as described. Please note that last response has strange form. It is unexpected ( stops |
|
I can reproduce this, but I don't see a way on how to fix this. The problem is that evals that don't work cause PHP simply to abort - nothing I can do about that. I did address the not having a command/transaction_id attribute in the response in CVS though. |
|
Dave writes: |
|
Okay, I checked, and it's not something that I can't avoid. THere are two cases where eval() might bail out:
PHP handles this correctly and let you continue with the script, see: <?php echo "ALIVE\n";
PHP will abort the script, see: <?php echo "ALIVE\n"; Xdebug's eval() behaves the same here. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-10-02 14:59 | d_kelsey | New Issue | |
2007-10-17 15:58 | nix | Note Added: 0000743 | |
2007-10-28 17:32 | derick | Status | new => resolved |
2007-10-28 17:32 | derick | Resolution | open => not fixable |
2007-10-28 17:32 | derick | Assigned To | => derick |
2007-10-28 17:32 | derick | Note Added: 0000775 | |
2007-10-29 19:49 | derick | Status | resolved => feedback |
2007-10-29 19:49 | derick | Resolution | not fixable => reopened |
2007-10-29 19:49 | derick | Note Added: 0000783 | |
2007-11-11 17:45 | derick | Status | feedback => resolved |
2007-11-11 17:45 | derick | Resolution | reopened => not fixable |
2007-11-11 17:45 | derick | Note Added: 0000808 | |
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 |