View Issue Details

IDProjectCategoryView StatusLast Update
0001004XdebugStep Debuggingpublic2020-03-12 17:19
Reporterakrabat Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version2.3.0 
Summary0001004: Ability to halt on warning/notice
Description

It would be nice if there was an xdebug setting that caused halt of execution when a notice/warning is displayed.

I currently register an error handler to do this at the moment, but a simple setting such as xdebug.halt_on_error which took the same integer as error_reporting would be convenient.

TagsNo tags attached.
Operating System
PHP Version5.4.15-5.4.20

Activities

derick

2013-12-15 14:09

administrator   ~0002647

Implemented for 2.3.x as xdebug.halt_level which takes the same values as error_reporting. To catch for example WARNINGs and trigger_error() notices and warnings, you need to set: xdebug.halt_level=E_WARNING | E_USER_NOTICE

Issue History

Date Modified Username Field Change
2013-11-13 17:33 akrabat New Issue
2013-12-15 14:09 derick Note Added: 0002647
2013-12-15 14:09 derick Status new => closed
2013-12-15 14:09 derick Assigned To => derick
2013-12-15 14:09 derick Resolution open => fixed
2013-12-15 14:09 derick Fixed in Version => 2.3dev
2015-02-22 14:30 derick Fixed in Version 2.3dev => 2.3.0
2020-03-12 16:55 derick Severity minor => feature
2020-03-12 17:19 derick Category Feature/Change request => Step Debugging