Skip to content

fix: normalize path of breakpoint#976

Closed
angelozerr wants to merge 1 commit into
redhat-developer:mainfrom
angelozerr:normalize_breakpoint_path
Closed

fix: normalize path of breakpoint#976
angelozerr wants to merge 1 commit into
redhat-developer:mainfrom
angelozerr:normalize_breakpoint_path

Conversation

@angelozerr
Copy link
Copy Markdown
Contributor

fix: normalize path of breakpoint

See #971

In comments #971 (comment) path /Users/amizanjaleel/src/.../code.py uses ../ and breakpoint cannot be found. This PR normalize the path toretrieve correctly the IJ breakpoint.

[Trace - 12:25:53] Received response 'setBreakpoints - (6)' in 4ms.
Result: {
  "breakpoints": [
    {
      "id": 3,
      "verified": false,
      "message": "Breakpoint in file that does not exist.",
      "source": {
        "name": "code.py",
        "path": "/Users/amizanjaleel/src/.../code.py"
      },
      "line": 44
    },

See redhat-developer#971

Signed-off-by: azerr <azerr@redhat.com>
@angelozerr angelozerr added bug Something isn't working dap Debugging Adapter Protocol labels Apr 17, 2025
@angelozerr angelozerr added this to the 0.13.0 milestone Apr 17, 2025
@angelozerr angelozerr self-assigned this Apr 17, 2025
@angelozerr angelozerr closed this Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dap Debugging Adapter Protocol do-not-merge/work-in-progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant