You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dislike this fix, retrying after a Cannot execute this command while the target is running error seems like bad practice. It should be possible to do a more reliable fix by inspecting the current state of GDB somehow.
I'm in general not a fan of retrying because of bad timing.
It should be possible to do a more reliable fix by inspecting the current state of GDB somehow.
-thread-info should be possible to get the state, if it says it is still running, then a temporarily -interruptcould be done (but I'd suggest not to do that because it "breaks" until/fin and friends.
If the state says "still running" then the commands to be executed may be placed in a list and executed as soon as we get the stopped event.
After some more debugging: I really think it would be good to at least reliable adjust breakpoints while running.
I've tried to enable GDB's non-stop mode - but it seems the attach doesn't even work correctly afterwards.
This may only leave "interrupt", then "continue" (a change I'll not do myself)...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.