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

PHP debugger does not display content of long string

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate 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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              Kacer Tomáš Procházka
              Reporter:
              Kacer Tomáš Procházka

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment