[ https://issues.apache.org/jira/browse/NETBEANS-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geertjan Wielenga resolved NETBEANS-4461. ----------------------------------------- Resolution: Implemented Thanks, good to hear. > Debug PHP file doesn't work > --------------------------- > > Key: NETBEANS-4461 > URL: https://issues.apache.org/jira/browse/NETBEANS-4461 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger > Affects Versions: 12.0.1 > Environment: Netbeans 12.0 > PHP 7.1 > Chromium Version 83.0.4103.61 > NetBeans Connector 1.1.5 > Reporter: Florian Rival > Assignee: Junichi Yamamoto > Priority: Major > Labels: Debug > Attachments: netbeans.tgz > > > I have a problem when trying to debug a PHP file, I set a breakpoint, start > the debugger, the debugger stop at the breakpoint, so far, so good. > Then I press F8 to step over and instead of going to the next line of code, > the debugger step over the current class and stop at the line next to class > call. > Sample PHP class call : > {code:java} > $res .= > DG\MvSkin\ViewHelpers\Format\DateViewHelper::renderStatic($arguments); > $res .= '</p></div>'; > {code} > > The class (simplified) : > {code:java} > namespace DG\MvSkin\ViewHelpers\Format; > class DateViewHelper extends AbstractViewHelper implements CompilableInterface > { > public static function renderStatic(array $arguments) > { > $date = $arguments['date']; > $format = $arguments['format']; > > return $date; > } > }{code} > > If I set a breakpoint at line *$date = $arguments['date'];* and then press F8 > (it's the same with F7 or Ctrl+F7) then the debugger jump to line : *$res .= > '</p></div>';* instead of next line. > Note : the function is a public static function. > The same use case works well with previous version (Netbeans 11). > > -- 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