View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001518 | Xdebug | Feature/Change request | public | 2018-01-18 16:06 | 2019-01-22 21:56 |
Reporter | LanaZem | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | acknowledged | Resolution | open | ||
Product Version | 2.6.0beta1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0001518: Send backtraces in error notifications in same format as "stack_get" response. | ||||
Description | At the moment but Xdebug doesn't send backtraces in error notifications but it will be useful to have them. With the current implementation, Xdebug can send backtraces in the same format they are shown in output, e.g. as a list for CLI execution and as an HTML table for Web Server execution. Error notifications are really useful for Web Server debugging but an HTML table inside IDE console is not readable. | ||||
Steps To Reproduce | 1) Create PHP file; <?php echo $bar; 2) Start debugger session for the script; 3) Enable error notifications; <- feature_set -i 5 -n notify_ok -v 1 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="notify_ok" success="1"></response> 4) Resume script execution and check received error notification; <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" name="error"> <xdebug:message filename="file:///home/user/PhpstormProjects/xdebug_notifications/app/notify.php" lineno="3" type="Notice"> <![CDATA[Undefined variable: bar]]> </xdebug:message> </notify> | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.2.0-7.2.4 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-18 16:06 | LanaZem | New Issue | |
2018-01-18 16:06 | LanaZem | File Added: xdebug_error_notify.log | |
2018-01-19 11:05 | derick | Status | new => acknowledged |
2018-01-19 11:05 | derick | Target Version | => 2.7.0dev |
2018-01-19 11:05 | derick | Summary | Send backtraces in error notifications not wrapped in html => Send backtraces in error notifications in same format as "stack_get" response. |
2019-01-22 21:56 | derick | Target Version | 2.7.0dev => |