[ https://issues.apache.org/jira/browse/NETBEANS-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262234#comment-17262234 ]
Tomáš Procházka commented on NETBEANS-2843: ------------------------------------------- Breakpoint resolution is available in Xdebug 2.8 (released 31st October 2019) or newer. According to https://xdebug.org/docs/compat PHP 7.1 is the oldest version compatible with Xdebug 2.8. So I decided to make this feature turned on by default. For simple test use following code: {code:php} $array = [ 'a', 'b', 'c', ]; var_dump($array); {code} Place breakpoint on line starting {{$array}} and start debug session. With breakpoint resolution switched off program will run without stopping. After turning breakpoint resolution on debugger will stop at line {{'a'}}. > Xdebug's support for the 'resolved_breakpoint' > ----------------------------------------------- > > Key: NETBEANS-2843 > URL: https://issues.apache.org/jira/browse/NETBEANS-2843 > Project: NetBeans > Issue Type: Improvement > Components: php - Debugger > Affects Versions: 12.0 > Environment: Xdebug 2.8.0alpha1 > Reporter: Vítězslav Dvořák > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > When IDEs opt in into this flag, Xdebug runs additional logic to make sure > that it tries to find the right line to break on, even if you are setting a > breakpoint on a line of code, where the PHP engine doesn't think there is any > code. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists