microsoft / microsoft/vscode-java-debug

After RestartFrame is performed evaluation doesn't work until a StepOver is done

Open
#1,284 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

[provide a description of the issue]

Environment
  • Operating System: MacOS
  • JDK version: 17
  • Visual Studio Code version: 1.74.3
  • Java extension version: v1.14.2023011609
  • Java Debugger extension version: v0.47.2022112823
Steps To Reproduce
  1. Restart the current stack frame while debugging

2.Try to evaluate a expression

Current Result

Error: Cannot evaluate because of org.eclipse.debug.core.DebugException: com.sun.jdi.InvalidStackFrameException occurred while retrieving value..

Expected Result

Expression evaluated successfully.

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 with the stated VS Code and JDK environment: restart the current stack frame, then evaluate an expression. Trace the Restart the current stack frame and expression evaluation paths in the Java Debugger extension. Done means evaluation succeeds immediately after restart without requiring StepOver.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.