#284: Add retry-mechanism to threadsRequest-method for stability by martin-fleck-at · Pull Request #285 · WebFreak001/code-debug · GitHub
Skip to content

#284: Add retry-mechanism to threadsRequest-method for stability - #285

Open
martin-fleck-at wants to merge 1 commit into
WebFreak001:masterfrom
martin-fleck-at:issue-284
Open

martin-fleck-at wants to merge 1 commit into
WebFreak001:masterfrom
martin-fleck-at:issue-284

Conversation

@martin-fleck-at

Copy link
Copy Markdown
Contributor

No description provided.

@WebFreak001

Copy link
Copy Markdown
Owner

@GitMensch

Copy link
Copy Markdown
Collaborator

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 -interrupt could 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.

@GitMensch

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants