-
-
Notifications
You must be signed in to change notification settings - Fork 218
Dead code or autoloading mechanism? #389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think that the primary aim of this code is that ensures, that Tracy will work properly. It's better to know earlier, that Tracy won't work in |
This is because the errors that occurs in the autoloader. For questions please use the forum https://forum.nette.org/en/f46-tracy |
ok, so it is intended to "capture" any error that might occur during autoloading. But it does not ensure that class exists...
Ok, sorry. Thought this was more a "issue" than a question 😉 Closing for now, but I think the code does not do what it suggests it does... 🤔 |
It is just fix for very specific problem. It can be replaced with |
Maybe I am missing the point, but what is the functional justification of this snippet:
tracy/src/Tracy/Debugger/Debugger.php
Lines 202 to 203 in eb2e772
Is it to ensure these classes are "autoloaded"? If so, what would be the point of that?
The text was updated successfully, but these errors were encountered: