microsoft / microsoft/vscode-java-debug

[Feature request] Support column number

Open
#570 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Environment
  • Operating System: Windows/Mac/Linux
  • JDK version: 8 & 11
  • Visual Studio Code version: 1.33.1
  • Java extension version: 0.42.1
  • Java Debugger extension version: 0.18.0
Steps To Reproduce
  1. Open test project 8.nosource
  2. Open NoSourceTest.java, and set breakpoint on line 4: System.out.println(i+10);
  3. Press F5 to generate launch.json and press F5 again to start debug, verify the BP is hit
  4. Verify the stack frames
Current Result

Each line ends with ":1"
image

Expected Result

Can display the correct column value

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 issue with test project 8.nosource and NoSourceTest.java, setting the breakpoint on line 4 and checking the stack frames after launch.json is generated. Trace the stack-frame output involved in the Java debugger extension and verify that the displayed source column is correct instead of always being :1.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.