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

realgud:gdb does not put me into the source file of the hit breakpoint #310

Open
CDitzel opened this issue Sep 22, 2022 · 2 comments
Open

Comments

@CDitzel
Copy link

CDitzel commented Sep 22, 2022

gdb and lldb with realgud work but I am not put into the actual source file (I assume it is supposed to open in a new buffer once it is hit). So I can set breakpoints in the prompt of the gdb buffer within emacs but neither the current source file is opened nor are the arrow indicators displayed.

Do I have to set some specific setting for this to work?

@rocky
Copy link
Collaborator

rocky commented Sep 22, 2022

It might be the annotation level not getting set to display position information accurately.

Or maybe the realgud:attach-source-buffer function might be what you need.

The exact situation described is not that clear to me.

Also you might try https://emacs.stackexchange.com/ where it might be seen by more people.

@CDitzel
Copy link
Author

CDitzel commented Sep 23, 2022

thanks. But the issue seems to be that the debugger cannot find the source files. How can I specify the directory?

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

No branches or pull requests

2 participants