-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
14-checkpoint: Program received signal SIGTRAP, Trace/breakpoint trap #246
Comments
Having the exact same issue. Are you using WSL2 on Windows? The problem only exists when trying to add breakpoint... |
The test environment I use is ubuntu20.04 |
In my case, I solved the problem by using the new GDB.
And change
which replaced |
Thanks, @aea5, for your answer. I have the same problem on ubuntu 22.04 as @MyCodeMyMoney has. Add '-S' it is enough to resolve that |
When I set a breakpoint and continue, I get an error like the following,can anyone help me?
The text was updated successfully, but these errors were encountered: