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
Debugger::$maxLen not working #114
Comments
That is feature. That being said – it may currently not be obvious for programmer to see what is affected by some options and what is not. |
It affects only function |
More precisely it affects |
So how you debug longer strings if i can not see them? |
If I needed to debug longer strings, I would have to implement it, probably in BlueScreen class. |
sorry for my english If I needed - means that you suggest me to implement it? or you want to tell me that there is no need to implement it? if i implemented and nobody is interested to add my pull request so it would not help me |
Of course, you can implement it. |
I 've found same "bug". When I 'm debugging some SQL i want to view them full. Tried to set Debugger::$maxLen to bigger size, but no success. It's not only dump() function, but also function arguments at blue screen. I think, that expected behaviour is using $maxLen. So we can change src/Tracy/Dumper.php line 93 from hardcoded value (ugly!) to something like Debugger::$maxLen. I can prepare PR for this. |
If I set maxLen=1000 still truncate is set to 150.
"SELECT
products
.ids
asids
,products
.type
astype
,products
.sku
assku
,products
.EAN
asEAN
,products
.producer_id
as `produce ... " (1699)Maybe the problem is here
https://github.com/nette/tracy/blob/master/src/Tracy/assets/BlueScreen/bluescreen.phtml#L136
that no options of truncate is set.
The text was updated successfully, but these errors were encountered: