-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: brqasaad-sys/java-debug
base: main
head repository: microsoft/java-debug
compare: main
- 11 commits
- 25 files changed
- 9 contributors
Commits on Dec 9, 2025
-
Fix lspFrame.source NPE on stackTrace request (microsoft#616)
* Fix lspFrame.source NPE on stackTrace request Follow up to: - microsoft#614 - microsoft#609 With the change to set the line number to 0 the jdiLineNumber != lspFrame.line comparison can evaluate to true: dap> lspFrame Types$StackFrame@78 column: 1 id: 6 line: 0 name: "0x000000002f0bc000.invokeVirtual(Object,Object)" presentationHint: "subtle" source: null dap> jdiLineNumber -1 `source` being null caused an NPE * Fix line number comparison in StackTraceRequestHandler --------- Co-authored-by: Changyong Gong <shawn.gong@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 81339de - Browse repository at this point
Copy the full SHA 81339deView commit details
Commits on Dec 16, 2025
-
fix: lspFrame.source.path is null (microsoft#618)
* fix: lspFrame.source.path is null * fix: update bundle location
Configuration menu - View commit details
-
Copy full SHA for 9623b8f - Browse repository at this point
Copy the full SHA 9623b8fView commit details
Commits on Jan 29, 2026
-
feat: support suspend all setting (microsoft#619)
* feat: support suspend all setting * fix: handle stoppedEvent for suspend policy change * fix: not allow change policy during a live debug session * fix: format issue * fix: let step command execute for current thread * fix: remove unused import * fix: apply suspend policy to exception breakpoint * fix: improve naming
Configuration menu - View commit details
-
Copy full SHA for 31dd8ee - Browse repository at this point
Copy the full SHA 31dd8eeView commit details
Commits on Mar 12, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b35f033 - Browse repository at this point
Copy the full SHA b35f033View commit details
Commits on Mar 30, 2026
-
Exclude Map.Entry from lazy loading to show key:value inline (microso…
…ft#621) Map.Entry objects were incorrectly treated as lazy-loading candidates because they are included in COLLECTION_TYPES. This caused the debugger to display entries as 'HashMap$Node@id' instead of showing the actual key:value details inline. Map.Entry's details computation (getKey + getValue) is lightweight, so eager evaluation is safe and significantly improves UX when debugging large Maps. Fixes microsoft/vscode-java-debug#1605 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 26b05eb - Browse repository at this point
Copy the full SHA 26b05ebView commit details -
Use JDTUtils.toUri() for decompiled class file URIs (microsoft#624)
Replace manual jdt:// URI construction in getFileURI(IClassFile) with JDTUtils.toUri(classFile) to align with eclipse.jdt.ls PR #3666. This ensures the debugger generates the same URI format as the language server, fixing the issue where classes with source code are opened twice (once as .java, once as .class) during debugging. Fixes microsoft#623 Related: eclipse-jdtls/eclipse.jdt.ls#3729 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 07b1e4c - Browse repository at this point
Copy the full SHA 07b1e4cView commit details
Commits on Mar 31, 2026
-
fix: handle NoSuchMethodError for isMainMethodCandidate() on older JD…
…T Core (microsoft#622) Catch NoSuchMethodError when calling SourceMethod.isMainMethodCandidate() in ResolveMainClassHandler and ResolveMainMethodHandler. This method was added in JDT Core 3.36 and is unavailable on older versions, causing the debugger to fail entirely when resolving main classes. Fixes microsoft/vscode-java-debug#1598 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Changyong Gong <shawn.gong@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for a4c27fb - Browse repository at this point
Copy the full SHA a4c27fbView commit details
Commits on Apr 20, 2026
-
Added attributes to VariablePresentationHint as specified in protocol…
… definition (microsoft#625) * added attributes to VariablePresentationHint as specified in protocol definition * Fixed issue with lazy VariablePresentationHint. Restricted constant to Primitive & StringRefs
Configuration menu - View commit details
-
Copy full SHA for ae2847e - Browse repository at this point
Copy the full SHA ae2847eView commit details
Commits on Apr 30, 2026
-
Handle VM disconnection gracefully and reorder termination logic (mic…
…rosoft#626) * Ignore VMDisconnected on detach; reorder terminate Wrap vm.dispose() in a try/catch to ignore VMDisconnectedException when the VM has already disconnected (e.g. process terminated) to avoid spurious errors during detach. Reorder calls in DisconnectRequestHandler to invoke terminate() before detach() when terminateDebuggee is true and the session is not attached, ensuring the debuggee is terminated prior to detaching. * Always detach debug session on terminate Wrap debugSession.terminate() in a try/finally so debugSession.detach() is always invoked when terminateDebuggee is true and the session is not attached. This ensures the session is detached even if terminate() throws, avoiding potential dangling sessions. Other detach logic is unchanged.
Configuration menu - View commit details
-
Copy full SHA for 3adbc03 - Browse repository at this point
Copy the full SHA 3adbc03View commit details
Commits on Jun 9, 2026
-
fix: prefer sourcePaths before JDT source URIs (microsoft#629)
* Prefer sourcePaths before JDT source URIs When JDT source lookup returns a non-file URI, check debug sourcePaths before returning that URI to the client. Add a regression test covering cached JDT URI results being overridden by sourcePaths. * Address source path review feedback Use a null-safe SourceType comparison and convert sourcePaths matches to the client's expected path format. Extend regression coverage for URI clients and null source types.
Configuration menu - View commit details
-
Copy full SHA for 3f03453 - Browse repository at this point
Copy the full SHA 3f03453View commit details
Commits on Jun 11, 2026
-
fix: correct method location typo (microsoft#630)
Co-authored-by: titanniya542-spec <titanniya542-spec@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d6a66c8 - Browse repository at this point
Copy the full SHA d6a66c8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main