microsoft / microsoft/vscode-java-debug

Error: Trying to add a disposable to a DisposableStore that has already been disposed of

Open
#766 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged question
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

Environment
  • Operating System: Win10
  • JDK version: 1.8.0_202
  • Visual Studio Code version: 1.42.1
  • Java extension version: 0.57.0
  • Java Debugger extension version: 0.25.0
Steps To Reproduce
  1. Git clone https://github.com/ZhengJun003/junit5-samples/tree/testrunner
  2. Open junit5-jupiter-starter-maven folder
  3. Open Toggle Developer Tools
  4. Add a main method in Calculator.java file and click Debug code lens
Current Result

Start a debug session that will prompt an error at Toggle Developer Tools.
Capture

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

Reproduce the error using the junit5-samples testrunner repository, the junit5-jupiter-starter-maven folder, and the main method in Calculator.java while watching Toggle Developer Tools. Start by identifying where the DisposableStore error is reported during the debug code lens flow. Done means the debug session starts without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.