Konloch / Konloch/bytecode-viewer
The decompiled code does not have the same line number as in the class
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 15.6k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
I found all the embedded decompiler does not generate the java file with the same line numbers as in the class.
Because of this issue, one can not use the de-compiled source code to set debug point correctly, and can not align the stacktrace to the de-compiled code easily.
The Eclipse plugin JD Eclipse claims to be able to achieve this. I hop bytecode-viewer can do this also.
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.
Research direction
Start by locating the embedded decompiler integrations and examining how class line numbers are represented in the generated Java source. Use JD Eclipse's claimed behavior as a comparison point, then verify the result against debugger breakpoints and stack traces. Done means decompiled source lines align with the original class line numbers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- reverse-engineering
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100