-
Notifications
You must be signed in to change notification settings - Fork 10
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
GDB problem during debug #8
Comments
Hmm.. looks like this is probably a bug with GDB. Do you know what version you're running? It sounds like this old bug, here: https://sourceware.org/bugzilla/show_bug.cgi?id=15203 I'd recommend updating GDB to 7.7+. This is likely the culprit. If that doesn't fix it and you're still having the issue - would you be able to paste a simple code example that triggers the bug (with as few lines of code as possible)? |
I'm using GDB 7.7.1 here is an example:
When I try to debug the foo function the error occurs. |
I'm not able to duplicate that problem this end with gdb 7.7.1. I'll add in a debug log option to the next option, so that you can hopefully (or anyone with problems) send across the full log of gdb communications. Maybe that will shed some light on it. |
Okay, I've pushed the latest version of Would you be able to go into If you then view the Developer Tools ( |
Here is the log:
These last Uncaught exceptions expand to:
|
I edit the answer running the debug in a different window of the project I'm working on, there were some errors not from the example I posted. When I ran the example alone the exceptions were empty, in the end, I left the exception content from my other test. |
I was debugging the main() of my program,
when I tried to step into a method from a shared_ptr I got this error.
The shared_ptr code was shown.
I other ide debuggers I would have step into, step out, step into to go to my code.
The text was updated successfully, but these errors were encountered: