posit-dev / posit-dev/positron

R: Weird debugger position indicator behavior

Open
#3,556 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: debugger area: kernels info needed lang: r support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Discussed in https://github.com/posit-dev/positron/discussions/3555

Originally posted by jeffkeller-einc June 13, 2024
When I use browser() inside of a function, and run that function, I get a little brown irregular pentagon indicator of the execution position. If I step through the function with n in the console, this indicator gets duplicated and starts to wander into the code.
Screenshot 2024-06-13 at 4 54 22 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue from the linked discussion using browser() inside a function, then step with n in the R console. Trace the debugger position indicator as it duplicates and wanders into the code; done means a single indicator remains at the actual execution position while stepping.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
developer-experience, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.