When writing designscript, I often find myself creating large code blocks with many outputs. In order to properly debug my graph, I need to see what is happening to data as it flows through the code block, but the node preview only shows the last output.
I therefore propose this idea: Could there be a way to quickly mouse over each output of the code block and see the preview for just that output?
You may respond “Why don’t you just place a watch node for each output?”
Here is the result of such foolishness :
As you can see, it is very difficult to read such a cluttered mess of watch nodes, and if you try to space them out so they can all be seen, they won’t fit on the screen, so you must keep scrolling back and forth to read the results. Often I will delete all the watch nodes because they are in the way, but later I will realize I need to go back and debug the code, so I have to place them all again. Does anyone else have this problem?
So again, the solution I’m proposing would be something along the lines of an ability to mouse over each output and show a separate preview window for each output. You could probably only show a preview for one output at a time, but that would still be helpful. This would allow the user to quickly glance at all the outputs and see if data is flowing correctly, but when the preview is hidden, it no longer clutters the graph.
I suppose I should tag @solamour
Thanks Dynamo team!