Stepping through code in list::maps and more #4569
sanderjson
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
More than once I wish I could inspect the live values in a
list::map
orlist::filter
or other.Using a trivial example like this (code below), we can inspect the
val
but only for the final value of the list. It would be great for the user to be able to cycle through all the values as desired.In the screenshot below I show one possible UI/UX solution. In this case the arrows could be used to change the value of
val
, and the user could then debug their code easier.sample code
screenshot 1 (current UI)
![image](https://user-images.githubusercontent.com/20689537/198495063-0aa87ed9-f876-4404-9018-e4a105b477a4.png)
screenshot 2 (example solution)
![image](https://user-images.githubusercontent.com/20689537/198495096-203e73d3-1a55-4156-ad1b-f129cadfdc5b.png)
Beta Was this translation helpful? Give feedback.
All reactions