shadow-cljs
shadow-cljs copied to clipboard
View as EDN breaks on large data structure
Hi @thheller - thanks for your work on the Inspect feature. It is beautiful <3
Steps to Reproduce
- (tap> my-large-vector-of-maps-and-things) ;; ~6000 entities
- Inspect via shadow-cljs inspector
- Click on View as EDN
- Gets Stuck in "Loading..." state on the viewer
- Click on View as Browse and it loads the data again.
Potentially useful debugging data:
I see this error consistently in the console
Further Info:
- View as EDN works fine with smaller vectors with maps in them, etc.
Please let me know if I can provide any further info or help with tracking this down!
Printing EDN currently caps out of 1mb to avoid printing forever. The UI just doens't handle the error correctly yet. There probably should be a way to increase the cap too.
Any reason you want the actual EDN?
Any reason you want the actual EDN?
I wanted to dump it into a file