-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
ext-ds support #472
Comments
Yes |
Code snippet for myself, I'll try to work on it later. \Tracy\Dumper::$objectExporters[\Ds\Vector::class] = function (\Ds\Vector $obj, Value $value, Describer $describer): void {
foreach ($obj as $objectKey => $objectValue) {
$describer->addPropertyTo($value, (string) $objectKey, $objectValue, Value::PROP_PRIVATE, null, \Ds\Vector::class);
}
}; |
My related PR to Symfony (might need it for inspiration): symfony/symfony#30311 |
So send PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of arrays I much prefer using specialized data structures from ext-ds extension:
Unfortunately Tracy dumper seems unable to show me the contents of the data structures which often leads to important info to be missing on the exception screen.
If I understand Tracy correctly then this should be possible using
\Tracy\Dumper::$objectExporters
.The text was updated successfully, but these errors were encountered: