-
Notifications
You must be signed in to change notification settings - Fork 93
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
Suggestion: there should be a prominent "Stop" button #162
Comments
I pondered this some more and I have a suggestion, I hope I didn't observe the following incorrectly:
If that is correct, maybe "Start" could instead be replaced with "Stop" when the program is running? That way, the toolbar wouldn't even become more cluttered and yet there would be a good spot for this new button. |
Hi Ellie, I apologize, I haven't forgotten about this. Here's a summary. I hope it makes sense. (And I'm open to improving things). First, starting Seer from the command line:
Without
|
Once your started debugging, the Run and Start button have these behaviors.
|
You are right. Seer always says "the program is already running", even though it isn't. Something for me to fix. |
I really like this idea. I've seen other debuggers with it. I've put in a task with the gdb community to provide a function for it. I'd like to hear what they say. There is a kludgy way I could do it, though. |
Anyway, the "Run", "Start", and eventual "Stop" buttons can be reworked a little. |
Very cool! ❤️ Yeah I assumed all the functionality was already there, but just the choice of button texts usually confuses me a little and I expected one that said "Stop". For what it's worth, I'm a bit slower on feedback sometimes simply because some months I have less to do on the C/C++ side so then I just touch Seer less. It's in any case still an absolutely amazing tool. |
All good. Thanks for your input! |
For my reference. These 2 threads have a previously proposed "-exec-abort" function for the gdb team. https://gdb-patches.sourceware.narkive.com/FdZj7eUg/patch-gdb-mi-implement-exec-abort |
I suggest there should be a prominent "Stop" button that unlike the "Interrupt" menu immediately stops the debugged program execution including releasing whatever pause or signal catch from gdb might still be clinging on and reloads the program freshly from disk. Here's my quote from #158 for the rationale:
The text was updated successfully, but these errors were encountered: