Results shown in LINQPad are limited. If objects are deep nested, a red line is shown. I would like to increase a limit, so I can see more nested objects.
Do you know how to do it? (I have not find that in options.)
Background not in the original question: LINQPad will display of "limit of graph" error message if the total output exceeds a certain threshold (total page size). The suggested answers are addressing how to limit the depth of the individually dumped object graphs, which may help avoiding hitting the total size limit. It does not, however, increase the "limit of graph", which is what OP is asking.
To flesh out @lioil's answer:
Dump
's overloads include:
T Dump<T>(this T o); //Dump the object and return it (for fluency)
T Dump<T>(this T o, string description); //Dump with label
T Dump<T>(this T o, int maximumDepth); //Dump with given maximum depth
T Dump<T>(this T o, string description, int maximumDepth); //Combine the above
You're looking for the third or fourth option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With