-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
clear in GDB does not remove breakpoints marks in the code buffer #278
Comments
I don't understand exactly what you mean. When you restart gdb, doesn't it keep the same breakpoints? |
The lines where the breakpoints were are still marked in the buffer that holds code. The lines should not be highlighted because the breakpoints do not exist anymore. The only way to get rid of those wrong highlights is to kill the buffer and reopen the code file. |
Ok. I guess then that In the forseeable future I'm not going to have any time to look at. You up for investigating how to add? |
No change that part about chainging the realgud
Maybe you can be as detailed as the above about specifiying the problem. |
@rocky Not sure that we understood each other. :) GDB's And there is nothing wrong with GDB. It does delete all my breakpoints when I call In other words, |
Yeah, I have that feeling too. Since you
why don't you take a stab at fixing and put in a PR? |
@rocky Because I thought that there are people more familiar with the Realgud codebase than I am. :) The other reason why I'm writing an issue is to make sure that the problem exists in general and is not only due to my own configuration. But I got you, will look at this as soon as I find time for it. |
Related: #180 |
@novakboskov You may be interested particularly in |
Added a python event listener that prints a message whenever a breakpoint is deleted. The regexp for detecting deleted breakpoints is now applied repeatedly as long as there are additional matches as the gdb listener writes one message for each deleted breakpoint. This should fix realgud#278, realgud#180 and realgud#61.
I use
r
to run the program in GDB andkill
andclear
to clear all the breakpoints and stop the program. Normally, I do not kill GDB but just user
again to run the program again when recompiled.Is there a realgud command that would clear my code buffer from the breakpoint markings?
The text was updated successfully, but these errors were encountered: