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

local variables not visible in debugger when invalid Watch exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.1
    • None
    • php - Debugger
    • None
    • Windows 10; Apache 2.4.46; PHP 7.3.25; xdebug 3.0.1

      same bug is reproducible with xdebug 2.9.6 and 2.9.8.
      same bug is reproducible in NB 11.3

    Description

      PHP 7.3 project.  start debugging.  create an INVALID Watch.  expose the Variables debugger panel.  set a breakpoint, in a method with local variables.  run the code to that breakpoint.  Notice that the local variables are MISSING.  See attached screenshot [1]

      Delete the invalid Watch.  Run the code again to the same breakpoint.  Notice that the local variables are VISIBLE.  See attached screenshot [2

      Expected behavior is that Local Variables will always be visible, despite presence of invalid Watch(es).

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeremydunn Jeremy Dunn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: