microsoft / microsoft/vscode-java-debug
Debugging & inspection of variables causes com.sun.jdi.ObjectCollectedException
Open
@testforstephen is already working on this.
Since May 11, 2021.
ai-triaged
bug
variables
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
[provide a description of the issue]
Debugging & inspection of variables causes com.sun.jdi.ObjectCollectedException
Environment
- Operating System: Windows_NT x64 10.0.17134
- JDK version: 16
- Visual Studio Code version: 1.57.0-insider (system setup)
- Java extension version: 0.79.1
- Java Debugger extension version: 0.33.1
Steps To Reproduce
- View the contents of the variable collection in the breakpoint.
- switch 2 ~ 3 times
Disable Logical Structure ViewandEnable Logical Structure Viewat Parent Collection Object and Child Collection Object. (Random combination)
Sometimes there will be problems
eclipse 4.18 has been resolved
- open https://www.eclipse.org/eclipse/news/4.18/jdt.php
searchcom.sun.jdi.ObjectCollectedException
Current Result

Expected Result

Additional Informations
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.