Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

only the last breakpoint is set when starting a new session #36

Open
doudou opened this issue Nov 30, 2017 · 0 comments
Open

only the last breakpoint is set when starting a new session #36

doudou opened this issue Nov 30, 2017 · 0 comments

Comments

@doudou
Copy link

doudou commented Nov 30, 2017

I'm debugging a GTest binary, without arguments.

If I set a single breakpoint, start the debugging session and then set multiple breakpoints at runtime, everything works fine. The program stops on all the breakpoints I have set.

However, if I either:

  • set multiple breakpoints before starting gdb, or
  • restart a debug target, where I already set multiple breakpoints

Then, then only the last added breakpoint will be active. The other breakpoints are still visible in the breakpoint list, but GDB does not stop on them.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant