Skip to content
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

Breakpoints are dislocated. #59

Open
Mng12345 opened this issue Feb 8, 2024 · 2 comments
Open

Breakpoints are dislocated. #59

Mng12345 opened this issue Feb 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Mng12345
Copy link

Mng12345 commented Feb 8, 2024

image
As the screen-shot, the breakpoint i add in the file of _build/default is dislocated, and some are unrerified.

@Mng12345
Copy link
Author

Mng12345 commented Feb 8, 2024

May be the comment causes dislocated?
image

@sim642 sim642 added the bug Something isn't working label Feb 8, 2024
@sim642
Copy link
Collaborator

sim642 commented Feb 8, 2024

I've seen it in some copied/preprocessed files that try to preserve the original location mapping through pragmas like # 1 "original_module.ml, for example at the top of the module. I think dune's copy_files# and cppo insert those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants