Format menu collapse only first few output

In a LINQPad query where I am outputting a fair number of ManagementObjects, the Format collapes commands only collapses the first six output objects, and leaves the rest uncollapsed.

Comments

  • It could be timing out.

    If you don't need that level of detail upfront, try calling Dump with a number to limit the depth:

    obj.Dump(3);
  • As discussed previously by others, there is no level # that can be passed to Dump equivalent to pressing Alt+1 so that isn't ideal, but perhaps will be close enough.