[Solved]Feature Request: auto expand Debug setting

Would it be possible to have an option to have objects automatically fully expanded?

image

Did you try pinning that buffer value "open" ?
image
When new data arrives of same path it should automatically be opened.

1 Like

Hey guys,
I agree with Simon that some kind of auto-expand would be useful. But don't know if you could have cyclic references here, that could cause troubles while auto-expanding (to infinity)?? Perhaps that you could specify a 'number' of expand levels, wich is default 0 to have the sale behaviour as currently. Just an idea..

Generating the debug message in the page is a relatively expensive operation. Under the covers we construct what is displayed only when the user expands different parts of it.

We used to generate the whole thing in one go and we got complaints over the performance and had to do the work to optimise it.

This is also why we added the 'pin' option, so you could select the specific bits you want as needed.

This isn't an argument for or against adding an auto-expand option... just an observation that whilst it sounds simple to do, it may lead to more work than you appreciate to make it perform well.

(Cyclic references are already eliminated by the time it reaches the editor as the runtime has to JSON encode it to begin with).

1 Like

Never knew it existed - does exactly what I wanted :slight_smile:

1 Like

Problem solved :slight_smile: