View Issue Details

IDProjectCategoryView StatusLast Update
0002280XdebugStep Debuggingpublic2024-07-17 09:42
Reporteranton.m4354 Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionnot fixable 
Summary0002280: PHP Exception breakpoints: Abitilty to stop on uncaught or caught exceptions only
Description

While in JS it is possible to separately stop only on caught or only on uncaught exceptions, this is not implemented in xdebug. The ticket was originally opened in jetbrains, but they said that this should be implemented on the xdebug side.

See more https://youtrack.jetbrains.com/issue/WI-60135/PHP-Exception-breakpoints-Option-to-stop-on-unhandled-exceptions-only

TagsNo tags attached.
Operating System
PHP Version8.2.0-8.2.9

Activities

derick

2024-07-17 09:42

administrator   ~0006994

When an exception is thrown, Xdebug can intercept this and break on it, as it currently allows through Exception breakpoints.

At this state, PHP (and hence Xdebug) does not yet know whether the exception is being caught so there is no possibility of discerning whether it is a "caught" or "uncaught" exception.

Issue History

Date Modified Username Field Change
2024-07-09 19:22 anton.m4354 New Issue
2024-07-17 09:42 derick Assigned To => derick
2024-07-17 09:42 derick Status new => resolved
2024-07-17 09:42 derick Resolution open => not fixable
2024-07-17 09:42 derick Note Added: 0006994