Skip to content

Console appears to stop working after getting an error with limit_visible_console set to TRUE #15877

Closed

Description

@astayleraz

System details

RStudio Edition : Server
RStudio Version : 2025.04.0-daily-417
OS Version      : Ubuntu/rhel
R Version       : 

Steps to reproduce the problem

  1. Run the following in the console:

.rs.api.writeRStudioPreference('limit_visible_console', TRUE)
f <- function() stop()
g <- function() f()
h <- function() g()
k <- function() h()
k()
  1. After you get the error run getOption("repos")

Test case failure: test_show_traceback
https://github.com/user-attachments/assets/68339c6d-6cc9-4ec1-8ac3-2e9be108a9cd

Describe the problem in detail

The console seems to swallow the command and the user sees nothing. The console appears to stop working when limit_visible_console is set to True with these steps. I noticed if I refresh the page then the console will show me what I expect.

console.failure.mov

Describe the behavior you expected

I would expect the console to show the command I ran and the response.

QA Notes

Make sure and reenable the disabled part of this test test_show_traceback

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added
    new
    on Apr 7, 2025
  2. added theissue type on Apr 7, 2025
  3. nathanchilton commented on Apr 8, 2025

    @nathanchilton
    Contributor

    Good catch, @astayleraz ! Thank you for investigating this and for opening the issue!

  4. added this to the Mariposa Orchid milestone on Apr 8, 2025
  5. self-assigned this
    on Apr 8, 2025
  6. ronblum commented on Apr 9, 2025

    @ronblum
    Contributor

    Verified in RStudio Desktop Pro 2025.04.0-daily+453.pro1 on Windows 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

automationbugnewregression

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions