[ https://issues.apache.org/jira/browse/NETBEANS-6177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Marques updated NETBEANS-6177: ------------------------------------- Description: Netbeans not sending "stop" command to gdb/xdebug when click on "finish debbuger session" button while debugging and stopped in breakpoint, so script continue to the end, ignoring all other breakpoints. The expected behavior is to stop debbuger immediately when click on "finish debbuger session" button while stopped on breakpoint. In netbeans 12.2 it works ok, but when tried on 12.4 and 12.5, this problem happens. See attachment logs. How to reproduce: with breakpoint setted on "echo" line, while debbuging and stopped in the breakpoint, click on "Finish Debbuger Session" button: {code:java} <?php echo 'exit'; exit; {code} Result: Expected (Netbeans 12.2): stop without print 'exit' on the console. Error (Netbeans 12.5): print 'exit' on the console and exit (or execute all code after echo line if exists). was: Netbeans not sending "stop" command to gdb/xdebug when click on "finish debbuger session" button while debugging and stopped in breakpoint, so script continue to the end, ignoring all other breakpoints. The expected behavior is to stop debbuger immediately when click on "finish debbuger session" button while stopped on breakpoint. In netbeans 12.2 it works ok, but when tried on 12.4 and 12.5, this problem happens. See attachment logs. Test code with breakpoint on echo line. Netbeans 12.2: stop without echo 'exit'. Netbeans 12.5: echo 'exit' (and execute all other code if exists). {code:java} <?php echo 'exit'; exit; {code} > Netbeans not send STOP command to xdebug > ---------------------------------------- > > Key: NETBEANS-6177 > URL: https://issues.apache.org/jira/browse/NETBEANS-6177 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger > Affects Versions: 12.4, 12.5 > Environment: PHP 8.0.12 (cli) (built: Oct 22 2021 12:34:48) ( NTS ) > Copyright (c) The PHP Group > Zend Engine v4.0.12, Copyright (c) Zend Technologies > with Zend OPcache v8.0.12, Copyright (c), by Zend Technologies > with Xdebug v3.1.1, Copyright (c) 2002-2021, by Derick Rethans > Reporter: Joseph Marques > Priority: Minor > Fix For: 12.2 > > Attachments: xdebug-netbeans-12.2.log, xdebug-netbeans-12.5.log > > > Netbeans not sending "stop" command to gdb/xdebug when click on "finish > debbuger session" button while debugging and stopped in breakpoint, so script > continue to the end, ignoring all other breakpoints. > The expected behavior is to stop debbuger immediately when click on "finish > debbuger session" button while stopped on breakpoint. > In netbeans 12.2 it works ok, but when tried on 12.4 and 12.5, this problem > happens. > See attachment logs. > > How to reproduce: with breakpoint setted on "echo" line, while debbuging and > stopped in the breakpoint, click on "Finish Debbuger Session" button: > {code:java} > <?php > echo 'exit'; > exit; > {code} > Result: > Expected (Netbeans 12.2): stop without print 'exit' on the console. > Error (Netbeans 12.5): print 'exit' on the console and exit (or execute all > code after echo line if exists). > -- 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