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

PHP debugger does not display content of long string

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      PHP debugger does not display content of variable if it contains string longer than maximum data length set in PHP debugging options.

      Steps to reproduce:

      1. In PHP file create variable with long content like $longString = str_repeat('A', 3000);
      2. Verify that Maximum Data Length setting is set to lower value than length of $longString
      3. Run debugger and step over previous statement.
      4. Open Variables tab.

      Expected result - content of $longString will be displayed - "AAAAAA....".
      Actual result - "Evaluating..." is displayed as content of $longString

      Attachments

        Activity

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

          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 - 2h
                2h

                Slack

                  Issue deployment