Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001004XdebugFeature/Change requestpublic2013-11-13 17:332013-12-15 14:09
Reporterakrabat 
Assigned Toderick 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.3dev 
Summary0001004: Ability to halt on warning/notice
DescriptionIt 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
Attached Files

- Relationships

-  Notes
(0002647)
derick (administrator)
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

- 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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker