Skip to content

Data tab hangs when you use special javascript function names #132

@giovannic

Description

@giovannic

Systems:

RStudio Server - Version 1.4.1106 - "Tiger Daylily" (2389bc24, 2021-02-11) for Ubuntu Bionic
RStudio Desktop - Version 1.4.1106 - "Tiger Daylily" (2389bc24, 2021-02-11) for macOS)

Steps to recreate:

  1. Run the following code and wait for the profile tab to open
work <- function(x) {
  Sys.sleep(1)
}

toString <- function(a) {
  for (x in a) {
    work(x)
  }
}

profvis::profvis(toString(seq(5)))
  1. Click on the "data" tab in the profile

Expected behaviour:

Code tree appears

Actual behaviour:

Tab is blank indefinitely

#131 is closed but shows a solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions