You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2021/01/11 19:23:00 UTC

[jira] [Commented] (NETBEANS-5234) PHP debugger does not display content of long string

    [ https://issues.apache.org/jira/browse/NETBEANS-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262886#comment-17262886 ] 

Tomáš Procházka commented on NETBEANS-5234:
-------------------------------------------

Proposed PR fixes handling of response from Xdebug.

Response to {{property_value}} contains data in base node and variable name is not included in response and has to be copied from request.

[Xdebug documentation|https://xdebug.org/docs/dbgp#property-get-property-set-property-value]

> PHP debugger does not display content of long string
> ----------------------------------------------------
>
>                 Key: NETBEANS-5234
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5234
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Debugger
>    Affects Versions: 12.2
>            Reporter: Tomáš Procházka
>            Assignee: Tomáš Procházka
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
>  # In PHP file create variable with long content like {{$longString = str_repeat('A', 3000);}}
> # Verify that Maximum Data Length setting is set to lower value than length of {{$longString}}
>  # Run debugger and step over previous statement.
>  # Open Variables tab.
> Expected result - content of {{$longString}} will be displayed - {{"AAAAAA...."}}.
> Actual result - "Evaluating..." is displayed as content of {{$longString}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists