Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6177

Netbeans not send STOP command to xdebug

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 12.3, 12.4, 12.5, 12.6
    • NB13
    • php - Debugger

    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:

      <?php
      echo 'exit';
      exit;
      

      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).

       

      Attachments

        1. xdebug-netbeans-12.5.log
          11 kB
          Joseph Marques
        2. xdebug-netbeans-12.2.log
          11 kB
          Joseph Marques

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            junichi11 Junichi Yamamoto
            sephcron Joseph Marques
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h

                Slack

                  Issue deployment