Why are all elements in the Debugger class referenced via self and not static to allow late binding?

cpalm
Member | 1
+
0
-

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 Debugger class.
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?

Kind Regards,

cpalm

Last edited by cpalm (2018-02-12 22:13)

CZechBoY
Member | 3608
+
0
-
Jan Tvrdík
Nette guru | 2595
+
0
-

What are the things you would like to change?