View, explore & add variables when debugging R shiny app in Positron #8546
Replies: 1 comment 1 reply
-
The Debug Variables pane up in the top left is the correct place to look for variables in the current debug frame. This also responds to any variables you create in the Console while in debug mode (it should refresh if you type It is limited though, i.e. you can see how it just reports To further dig into the object, right now you should just use the Console like it looks like you've already done. You printed out It is also worth noting that the main Variables pane up in the top right will always reflect the Global Environment, and not the environment of the current debug frame, so that is not where you should be looking when debugging. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm loving Positron and wish to move from Rstudio to using it as my main IDE however I can't do so yet due to not being able to solve the following issue. Can anyone help with this, maybe I've missed something obvious?
In Positron I'm able to launch my R shiny app and enter a break point defined by 'browser()' but I do not see how to access/explore the local variables in debug mode?
In Rstudio this is very simple via the view() function and 'Environment' panel, plus importantly any new variables I create in debug mode are easily explorable in this way. How can I access the same functionality in Positron?
Beta Was this translation helpful? Give feedback.
All reactions