View Issue Details

IDProjectCategoryView StatusLast Update
0001901XdebugStacktracespublic2020-11-28 17:00
Reporterderick Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.0.0RC1 
Target Version3.0devFixed in Version3.0.1 
Summary0001901: Stack traces are shown (with a broken time) when Xdebug's mode includes 'debug' but not 'develop' or 'trace'
Description

When running in 'debug' mode, stack traces are still being shown. Additionally, because the time index has not been set, the stack traces contain useless information:

<code>
$ php -dxdebug.mode=debug -dxdebug.start_with_request=yes -r 'function f() { usleep(50000); trigger_error("test"); } f();'
Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(

Notice: test in Command line code on line 1

Call Stack:
16840162259.3631 424472 1. {main}() Command line code:0
16840162259.3631 424472 2. f() Command line code:1
16840162259.3631 424472 3. trigger_error() Command line code:1
</code>

Steps To Reproduce

php -dxdebug.mode=debug -dxdebug.start_with_request=yes -r 'function f() { usleep(50000); trigger_error("test"); } f();'

TagsNo tags attached.
Operating System
PHP Version8.0.0-8.0.4

Activities

Issue History

Date Modified Username Field Change
2020-11-28 16:45 derick New Issue
2020-11-28 17:00 derick Assigned To => derick
2020-11-28 17:00 derick Status new => closed
2020-11-28 17:00 derick Resolution open => fixed
2020-11-28 17:00 derick Fixed in Version => 3.0.1
2020-11-28 17:00 derick Note Added: 0005554