You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Florian Rival (Jira)" <ji...@apache.org> on 2020/06/17 13:30:00 UTC
[jira] [Created] (NETBEANS-4461) Debug PHP file doesn't work
Florian Rival created NETBEANS-4461:
---------------------------------------
Summary: Debug PHP file doesn't work
Key: NETBEANS-4461
URL: https://issues.apache.org/jira/browse/NETBEANS-4461
Project: NetBeans
Issue Type: Bug
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
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) the the debugger goes 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-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