microsoft / microsoft/vscode-java-debug

Debugger doesn't stop at breakpoint inside finally block when no exception raised

Open
#1,542 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In a regular Java application, when a breakpoint is set within the finally block, the debugger session doesn’t terminate there when no exception is raised.

However, if an exception is raised during the execution of the code, the debugger will stop at the breakpoint.

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 breakpoint behavior in a regular Java application with a finally block that completes without raising an exception, then compare it with the exception path. Trace the TypeScript debugger handling for finally-block breakpoints; done means execution stops at the breakpoint in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.