You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Joseph Marques (Jira)" <ji...@apache.org> on 2021/11/06 06:02:00 UTC

[jira] [Created] (NETBEANS-6177) Netbeans not send STOP command to gdb/xdebug

Joseph Marques created NETBEANS-6177:
----------------------------------------

             Summary: Netbeans not send STOP command to gdb/xdebug
                 Key: NETBEANS-6177
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6177
             Project: NetBeans
          Issue Type: Bug
          Components: php - Debugger
    Affects Versions: 12.5, 12.4
         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
             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.

 

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}
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists