Skip to content

breakpoints do not disappear on click #9450

Closed

Description

@aljabadi

System details

RStudio Edition : Desktop
RStudio Version : 1.4.1106
OS Version      : macOS Big Sur 11.2.3
R Version       : 4.0.5

Steps to reproduce the problem

Please see the gif

rstudio-breakpoint2

Describe the problem in detail

When trying to remove breakpoints, some remain on the side bar and won't go away unless I close and re-open the file.

Describe the behavior you expected

For the breakpoints to clear on click or on Clear All Breakpoints

  • 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. ronblum commented on Jun 7, 2021

    @ronblum
    Contributor

    @aljabadi Thank you for raising the issue! However, I can't reproduce it in both RStudio Desktop 1.4.1106 (previous release) and 1.4.1717 (the current release) on MacOS 11.3. Can you provide a reproducible example so that I can try to reproduce under similar conditions?

  2. added
    info needed
    on Jun 7, 2021
  3. added this to the 1.7 (1H 2022) milestone on Jun 7, 2021
  4. aljabadi commented on Jun 16, 2021

    @aljabadi
    Author

    Hi @ronblum,

    Unfortunately the behaviour is somewhat inconsistent and does not reproduce at this moment, although this does occur to me every once in a while and I have to close and re-open the source file.

  5. schafnoir commented on Jul 7, 2021

    @schafnoir

    I, too, am experiencing 'sticky' breakpoints in RStudio. I routinely use breakpoints for debugging Shiny apps, and I find that when I use the 'Clear all breakpoints...' functionality, it works temporarily. When I re-open the project and its associated files, the breakpoints that I previously cleared will re-appear. This problem persists across multiple .Rproj that I work on.

    I am using the following versions:
    RStudio: 1.4.1717
    R: 4.1.0
    macOS: 11.4

  6. Pisca46 commented on Jan 12, 2023

    @Pisca46

    I, too, noticed persistent breakpoints in RStudio. When debugging a package stetting and clearing seemed to work. BUT, after rebuilding the package with shif-cmnd-B the breakpoint cleared was working again (but without the red dot).

    20230112 - actions and screen shots

  7. Pisca46 commented on Jan 12, 2023

    @Pisca46

    I am using:
    MacOS Ventura 13.0.1
    Rstudio 2022.07.2 Build 576
    R 4.2.2 (2022-10-31) -- "Innocent and Trusting"

  8. modified the milestones: Backlog-3, Later on Oct 5, 2023
  9. sthawinke commented on Oct 7, 2025

    @sthawinke

    I, too, noticed persistent breakpoints in RStudio. When debugging a package stetting and clearing seemed to work. BUT, after rebuilding the package with shif-cmnd-B the breakpoint cleared was working again (but without the red dot).

    20230112 - actions and screen shots

    I am experiencing the same. I cannot get rid of an anchor point over multiple sessions using Ctr + Shft + B. The anchor point reappears when I build the package by clicking "Install", and then I can remove it. This does not seem to be the same as the original issue though

  10. removed this from the Later milestone on Apr 11, 2026
  11. removed
    info needed
    on Apr 15, 2026
  12. added this to the Golden Wattle milestone on Apr 29, 2026
  13. self-assigned this
    on May 11, 2026
  14. ronblum commented on May 14, 2026

    @ronblum
    Contributor

    Verified in RStudio Desktop 2026.05.0-daily+205 on Windows 11.

    • Test 1: Clicking a gutter cell with an existing breakpoint in a saved top-level R script removes the marker
      entirely.
    • Test 2: Clear All Breakpoints empties the gutter across every open R script in one shot.
    • Test 3: A breakpoint cleared inside a package function does not reappear after Install and Restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions