View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002249 | Xdebug | Stacktraces | public | 2024-03-10 16:45 | 2024-04-15 12:53 |
Reporter | Kingdutch | Assigned To | derick | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | reopened | ||
Platform | PHPStorm | OS | Mac | OS Version | 14.2.1 (23C71) |
Product Version | 3.3.1 | ||||
Summary | 0002249: Debug callstack/stacktrace does not show origin of current Fiber | ||||
Description | When setting a breakpoint inside of a Fiber (using PhpStorm 2023.3.3 because I'm unsure how else to use xdebug) the frames end at the Fiber boundary: <code> This does not show where the Fiber came from which can make debugging difficult. However I throw an exception (e.g. by executing Is it possible for Xdebug to provide more information so that the callstack also shows similar information as an exception would in trace depth? Or is this information already available but does PHPStorm not show it correctly (I couldn't find an existing issue that might suggest Xdebug exposes this information) | ||||
Steps To Reproduce | For the following PHP code function doFiber() { $value = $fiber->start(); echo "Value from fiber suspending: ", $value, PHP_EOL; $fiber->resume('test'); doFiber(); Set a breakpoint on <code>$value = \Fiber::suspend('fiber');</code> | ||||
Additional Information | PHP 8.3.3 (cli) (built: Feb 13 2024 15:41:14) (NTS) | ||||
Tags | Stack Trace | ||||
Operating System | |||||
PHP Version | 8.2.0-8.2.9 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-03-10 16:45 | Kingdutch | New Issue | |
2024-03-10 16:45 | Kingdutch | Tag Attached: Stack Trace | |
2024-03-28 16:52 | derick | Assigned To | => derick |
2024-03-28 16:52 | derick | Status | new => closed |
2024-03-28 16:52 | derick | Resolution | open => fixed |
2024-03-28 16:52 | derick | Fixed in Version | => 3.3dev |
2024-03-28 16:53 | derick | Status | closed => new |
2024-03-28 16:53 | derick | Resolution | fixed => reopened |
2024-04-15 12:49 | derick | Fixed in Version | 3.3dev => 3.3.2 |
2024-04-15 12:53 | derick | Fixed in Version | 3.3.2 => |