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

Enable 'return' breakpoint support in PHP debugger

    XMLWordPrintableJSON

Details

    Description

      PHP debugger in NetBeans supports both function breakpoints - 'call' and 'return'.

      Breakpoint for exit from function (Xdebug type 'return' ) can't be created, because it is now disabled in New Breakpoint dialog.

      This commit disabled type selection: https://github.com/emilianbold/netbeans-releases/commit/90e2eb44c419469688b33a1a1eb88bde783abc6a

      NetBeans bug record https://bz.apache.org/netbeans/show_bug.cgi?id=132062 states that it is because of bug in Xdebug.

      I was able find related Xdebug issue https://bugs.xdebug.org/view.php?id=378
      Xdebug issue was marked marked as fixed/not reproducible in year 2009.

      So I think it is now safe to enable 'return' breakpoints again.

      Attachments

        Issue Links

          Activity

            People

              Kacer Tomáš Procházka
              Kacer Tomáš Procházka
              Votes:
              0 Vote for this issue
              Watchers:
              2 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