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/10 18:18:00 UTC

[jira] [Commented] (NETBEANS-4216) PHP Debugger not stopping at some breakpoints

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

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

This is not problem with PHP debugger in NetBean but it is related how PHP works.
Xdebug can stop only at lines where PHP generates opcode.

To work around this issue Xdebug implemented "resolved breakpoints" - it tries to stop break even if given line does not contain opcode.

For more details see [article|https://derickrethans.nl/breakpoints.html] by Derick Rethans (author of Xdebug).

See NETBEANS-2843 for info about support of "resolved breakpoints" in NetBeans.

> PHP Debugger not stopping at some breakpoints
> ---------------------------------------------
>
>                 Key: NETBEANS-4216
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4216
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Debugger
>    Affects Versions: 12.0
>         Environment: Windows, PHP 7.4.2, XDebug 2.9.2-7.4-VC15-NTS-x86_64
>            Reporter: Czukowski
>            Priority: Major
>         Attachments: image-2020-04-22-16-28-58-345.png
>
>
> While following [PHP Debugging|https://netbeans-vm.apache.org/synergy/client/app/#/specification/303/v/2] tests in Synergy, I ran into this issue, see image below. Lines 14, 16, 20 and 21 have breakpoints set, all deemed 'valid' except for line 16. Yet when debugging this sample file, the only line the debugger stops at is 20, while skipping other lines.
> The debugger should stop at all 'valid' breakpoints (that is, if it cannot stop at some line, it should not be considered valid, otherwise it should stop on it).
> !image-2020-04-22-16-28-58-345.png!



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