Why are all elements in the Debugger class referenced via self and not static to allow late binding?
Notice: This thread is very old.
- Member | 1
I like debugging with Tracy. But it seems to be impossible to me to simply
improve some classes like the BlueScreen and “inject” them somehow into the
Either the elements are declared private or the getter-functions create their own objects in a “hardcoded” way with new BlueScreen…
I could profit from the code written if everything would be prepended with
static:: instead of self::
Then late binding would be used and I could simply override what needs to be.
Could you (or I via a pull request) do this? Or am I simply missing something here?
Last edited by cpalm (2018-02-12 22:13)
- Member | 3608
Yes, you can: https://github.com/nette/tracy
- Jan Tvrdík
- Nette guru | 2595
What are the things you would like to change?