Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 9, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* Fix lspFrame.source NPE on stackTrace request

Follow up to:

- #614
- #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>
@pull pull bot locked and limited conversation to collaborators Dec 9, 2025
@pull pull bot added the ⤵️ pull label Dec 9, 2025
@pull pull bot merged commit 81339de into bell47:main Dec 9, 2025
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant