You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yesterday, after I downloaded the new Nette 2.3.0, I have discovered this:
Enabling the $showLocation flag in the Debugger class has no effect when displaying the dump (printed on the page, not in the debug bar). That is: The expected tooltip pointing out the location (file & line number) of the dump() function doesn't show up.
If I remove the break; statement, it seems to work - the tooltip is displayed.
The general lack of documentation of/in the code and the fact that the break; statement looks like a part of something bigger keeps me from doing this myself and creating the PR. Therefore I humbly ask anyone, who knows what exactly it does, to fix this.
The text was updated successfully, but these errors were encountered:
Yesterday, after I downloaded the new Nette 2.3.0, I have discovered this:
Enabling the $showLocation flag in the
Debugger
class has no effect when displaying the dump (printed on the page, not in the debug bar). That is: The expected tooltip pointing out the location (file & line number) of the dump() function doesn't show up.I have managed to pinpoint the candidate causing the problem and it seems to be the
break;
statement used in theDumper::findLocation()
method: https://github.com/nette/tracy/blob/master/src/Tracy/Dumper.php#L516If I remove the
break;
statement, it seems to work - the tooltip is displayed.The general lack of documentation of/in the code and the fact that the
break;
statement looks like a part of something bigger keeps me from doing this myself and creating the PR. Therefore I humbly ask anyone, who knows what exactly it does, to fix this.The text was updated successfully, but these errors were encountered: