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

FAILED: Preventing Qt Creator form stepping into Boost, Eigen, gtest, stl #391

Open
lusu8892 opened this issue Oct 6, 2019 · 4 comments

Comments

@lusu8892
Copy link

lusu8892 commented Oct 6, 2019

Hi Levi

I copied and pasted your scripts in to "Additional startup commands" for GDB, however when I click step into, the debug still goes into those library, not directly into my own code.

@Levi-Armstrong
Copy link
Member

Did you install the custom version of gdb?

@lusu8892
Copy link
Author

lusu8892 commented Oct 9, 2019

Are you saying install GDB from https://github.com/Levi-Armstrong/gdb-7.7.1?
If so, then yes, I cloned it into local, then config, and installed.

@Levi-Armstrong
Copy link
Member

Did you update your kit in qt creator to point to this debugger? Tools>Options>Kits>Debugger

@lusu8892
Copy link
Author

Inside Tools>Options>Kits>Debugger, two GDB are there:
One is at /usr/bin/gdb, the version is 7.11.1
Another is at /usr/local/bin/gdb, the version is 7.7.0, I think this is the one I installed from your repo. Should it be 7.7.1? These two are all auto-detected by QT.

When I install your GDB, I git cloned to /home/user/Download folder, and unzip, checkinstalled there. I remember it just installed in Download/gdb-7.7.1-master folder. I not sure this is right way to do so.

I also manually add one from /home/user/Downloand/gdb-7.7.1-master/gdb to QT and hight this GDB and clicked apply button, then OK. After this, I tried debugging the code, and still the same problem.

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