Skip to content
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

revert old thread order logic #988

Closed
wants to merge 1 commit into from
Closed

revert old thread order logic #988

wants to merge 1 commit into from

Conversation

therealdreg
Copy link
Collaborator

@therealdreg therealdreg commented Aug 15, 2023

Description

revert old thread order logic

Checklist

  • My code follows the code style of this project.
  • My change includes a change to the documentation, if required.
  • If my change adds new code, adequate tests have been added.
  • I have read and agree to the CONTRIBUTING document.

gef.py Outdated Show resolved Hide resolved
gef.py Outdated Show resolved Hide resolved
@therealdreg therealdreg changed the title revert reg and th order fix #986 revert old thread order logic Aug 15, 2023
@Grazfather
Copy link
Collaborator

#989 is for registers, this is for threads.

@therealdreg
Copy link
Collaborator Author

#989 is for registers, this is for threads.

done

valid_tids.add(tid)
else:
err(f"Unknown thread {tid}")
return list(valid_tids)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't even fix the issue, since you are adding to a set.

try:
tid = int(tid)
except ValueError:
err(f"Invalid thread id {tid:d}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:d would presumably fail since int(tid) failed. Why do we even have to do this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know, I am just reverting to old logic xD

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't just blindly revert.

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