Skip to content

Failed to set breakpoints on Windows #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ono-max opened this issue Nov 15, 2022 · 0 comments · Fixed by ruby/debug#845
Closed

Failed to set breakpoints on Windows #82

ono-max opened this issue Nov 15, 2022 · 0 comments · Fixed by ruby/debug#845

Comments

@ono-max
Copy link
Member

ono-max commented Nov 15, 2022

Currently, rdbg fails to set breakpoints on windows as follows:

Related to #58 (comment).

#19152:[>] {"command":"setBreakpoints","arguments":{"source":{"name":"hoge.rb","path":"c:\\Users\\S15236\\workspace\\hoge\\debug\\hoge.rb"},"lines":[3],"breakpoints":[{"line":3}],"sourceModified":false},"type":"request","seq":3}
#19152:[<] {"type":"response","command":"setBreakpoints","request_seq":3,"success":false,"message":"c:\\Users\\S15236\\workspace\\hoge\\debug\\hoge.rb is not available","seq":4}
@ono-max ono-max mentioned this issue Nov 23, 2022
ono-max added a commit to ono-max/debug that referenced this issue Nov 23, 2022
The reason for the failure to set breakpoints is that `@local_fs_map` is nil
ko1 added a commit to ruby/debug that referenced this issue Nov 29, 2022
`launch` invokes a debuggee process on the same file system so
we can assume `localfs == true`.

fix ruby/vscode-rdbg#82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant