You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When in debugger, any action in console changes active document #9918
The debugger does this intentionally in many cases; e.g. if you use a stepping command then it switches you back to the source window so you can see where the instruction pointer has moved. However, it shouldn't be doing it for any statement you run.
RStudio Edition : Desktop
RStudio Version : 2021.12.0-daily+110
OS Version : mac os 11.5.2
R Version : 4.1.1
Verified that in the case outlined above, the focus now remains on the new document and does not return to the source file after typing into the console and pressing enter.
It looks like this issue is still present in RStudio Workbench -- I was able to reproduce on an internal RStudio Pro instance.
Strangely, I was not able to reproduce locally with RStudio Desktop, or with an RStudio Server development instance, on macOS.
RStudio 2024.04.2+764.pro1 "Chocolate Cosmos" Release (6536115, 2024-06-05) for Ubuntu Jammy
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36, Quarto 1.4.555 (/usr/lib/rstudio-server/bin/quarto/bin/quarto)
Activity
hadley commentedon Oct 5, 2021
I'm pretty sure this is a reasonable recent regression, and it's super annoying when debugging.
jmcphers commentedon Oct 5, 2021
The debugger does this intentionally in many cases; e.g. if you use a stepping command then it switches you back to the source window so you can see where the instruction pointer has moved. However, it shouldn't be doing it for any statement you run.
hadley commentedon Oct 5, 2021
Ah makes sense!
valerie-rstudio commentedon Oct 7, 2021
Verified Fixed
Verified that in the case outlined above, the focus now remains on the new document and does not return to the source file after typing into the console and pressing enter.
jcrodriguez1989 commentedon Dec 3, 2021
This is also happening in
and it is really annoying.
Is there a way of disabling the Source Viewer forever?
Thanks,
7 remaining items
ronblum commentedon Mar 13, 2024
Verified in
using the example above.
kevinushey commentedon Aug 14, 2024
It looks like this issue is still present in RStudio Workbench -- I was able to reproduce on an internal RStudio Pro instance.
Strangely, I was not able to reproduce locally with RStudio Desktop, or with an RStudio Server development instance, on macOS.
RStudio 2024.04.2+764.pro1 "Chocolate Cosmos" Release (6536115, 2024-06-05) for Ubuntu Jammy
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36, Quarto 1.4.555 (/usr/lib/rstudio-server/bin/quarto/bin/quarto)
ronblum commentedon Aug 26, 2024
Verified in