MantisBT - Xdebug
View Issue Details
0001004XdebugFeature/Change requestpublic2013-11-13 17:332015-02-22 14:30
akrabat 
derick 
normalminorhave not tried
closedfixed 
 
2.3.0 
5.4.15-5.4.20
0001004: Ability to halt on warning/notice
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.
No tags attached.
Issue History
2013-11-13 17:33akrabatNew Issue
2013-12-15 14:09derickNote Added: 0002647
2013-12-15 14:09derickStatusnew => closed
2013-12-15 14:09derickAssigned To => derick
2013-12-15 14:09derickResolutionopen => fixed
2013-12-15 14:09derickFixed in Version => 2.3dev
2015-02-22 14:30derickFixed in Version2.3dev => 2.3.0

Notes
(0002647)
derick   
2013-12-15 14:09   
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