-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
move src to new path, breakpoints not work #22
Comments
if i set src path manually, kdbg can know it, and if possible, would gdbfrontend find debug symbol files from relative path as first choice? |
Hi, Thank you for your feedback. Breakpoints are setting by full paths for now. I will check it out to make it to work with relative paths. Have a nice day. |
Related, MariaDB container for remote debuggging:
I used a Then set the breakpoint, continued. Triggered with resulting in: However the relative info in the debuginfo can't automatically translate to the PWD as its been changed. |
Helloo, when you click a line gutter, GDBFrontend sets that breakpoint with absolute path of source file. I will find a solution for this. You can start GDBFrontend on your remote machine and connect to that from your local machine instead of using Since |
i made a demo project with debug info. in the original path, gdbfrontend works great.
if a move the whole project dir to new dir, i click "Load Executable", it shows the original src path, and when i click the src file appeared in the left panel, it popuped with error msg "Path not found".
then i click the "add source" button which is in the right corner of the "Sources" panel. select my source file, set breakpoints.
but when i click the "debug" button, the demo bin just run, no breakpoint hit, info looks like this
![image](https://user-images.githubusercontent.com/7458713/103437711-c4acd100-4c65-11eb-8d9a-3a8fa0e4f970.png)
The text was updated successfully, but these errors were encountered: