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

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

Valid/invalid breakpoint is decided by NetBeans only on position in statement.

PHP decides how it compiles source code and so there is no way for NetBeans to 
know where breakpoint can be.

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to