Title: The filename of the class(with source code included) should not end with .class on debugging scene · Issue #4356 · redhat-developer/vscode-java · GitHub
Open Graph Title: The filename of the class(with source code included) should not end with .class on debugging scene · Issue #4356 · redhat-developer/vscode-java
X Title: The filename of the class(with source code included) should not end with .class on debugging scene · Issue #4356 · redhat-developer/vscode-java
Description: When we normally open a class with source code, its filename ends with .java. However, if we jump to a class with source code during debugging, the filename ends with .class. This results in the same class being opened twice (one ending ...
Open Graph Description: When we normally open a class with source code, its filename ends with .java. However, if we jump to a class with source code during debugging, the filename ends with .class. This results in the sa...
X Description: When we normally open a class with source code, its filename ends with .java. However, if we jump to a class with source code during debugging, the filename ends with .class. This results in the sa...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/4356
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The filename of the class(with source code included) should not end with .class on debugging scene","articleBody":"When we normally open a class with source code, its filename ends with .java. However, if we jump to a class with source code during debugging, the filename ends with .class. This results in the same class being opened twice (one ending with .java and the other with .class), which is very confusing. Could we standardize this behavior? If a class has source code, it should always be opened as a file ending with .java.\n\n\u003cimg width=\"3711\" height=\"1728\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/805d4124-b0da-40b6-8444-8185481d92e7\" /\u003e\n\n\nMeanwhile, a breakpoint has been set in the .java file (the Java source file of the class), but during debugging, the execution jumps to and breaks at the .class file instead. The breakpoint symbol is not displayed, yet it actually takes effect. This issue occurs because the same class has been opened with different file extensions.","author":{"url":"https://github.com/mozhuanzuojing","@type":"Person","name":"mozhuanzuojing"},"datePublished":"2026-03-05T11:43:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4356/vscode-java/issues/4356"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4b262682-1b46-1098-8f22-610598d0145e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E880:1E1ACC:1A964B7:23B23F8:6A5BAB47 |
| html-safe-nonce | 37c2ac034914fdd73919a94bcac9fa6e3379314f2c26193df0f5d52740f001e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODgwOjFFMUFDQzoxQTk2NEI3OjIzQjIzRjg6NkE1QkFCNDciLCJ2aXNpdG9yX2lkIjoiMjkxMDQ2NTAxMzQ1Nzg1NzM1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cd2e93d3e40ae4209b5671ea8bd40e8410a8599c7af11da7f40a40fd21faf8c4 |
| hovercard-subject-tag | issue:4027708999 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/redhat-developer/vscode-java/4356/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84cdf3dd2b9d7a1f4087852a32c13c5a21431d73a46888ee99ddbd11ed65f39c/redhat-developer/vscode-java/issues/4356 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84cdf3dd2b9d7a1f4087852a32c13c5a21431d73a46888ee99ddbd11ed65f39c/redhat-developer/vscode-java/issues/4356 |
| og:image:alt | When we normally open a class with source code, its filename ends with .java. However, if we jump to a class with source code during debugging, the filename ends with .class. This results in the sa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mozhuanzuojing |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git |
| octolytics-dimension-user_id | 11033755 |
| octolytics-dimension-user_login | redhat-developer |
| octolytics-dimension-repository_id | 65561709 |
| octolytics-dimension-repository_nwo | redhat-developer/vscode-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65561709 |
| octolytics-dimension-repository_network_root_nwo | redhat-developer/vscode-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width