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

events.py: remove unused Pause class #1223

Merged
merged 3 commits into from
Oct 6, 2022
Merged

Conversation

disconnect3d
Copy link
Member

No description provided.

@@ -12,8 +12,7 @@

import pwndbg.config

debug = pwndbg.config.Parameter("debug-events", False, "display internal event debugging info")
pause = 0
debug = pwndbg.config.Parameter("debug-events", True, "display internal event debugging info")
Copy link
Member

Choose a reason for hiding this comment

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

You probably don't want to make the default True?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, good catch; that was from other testing

pwndbg/gdblib/events.py Outdated Show resolved Hide resolved
@gsingh93
Copy link
Member

gsingh93 commented Oct 5, 2022

This seems to be used in StartEvent.

@disconnect3d
Copy link
Member Author

@gsingh93 how? there is an if pause: condition in connect I missed, but I don't think this is used in StartEvent? Mainly, I don't see the Pause class to be used anywhere.

@disconnect3d disconnect3d merged commit 59889f1 into dev Oct 6, 2022
@disconnect3d disconnect3d deleted the remove-unused-Pause-code branch October 6, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants