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

Exception handler missing condition to open handler #348

Closed

Conversation

MeditationDuck
Copy link
Member

When an exception happens in the test in multiple try-except blocks, e.g., Assertion error in the snapshot_and_revert() block. Wake asks to open the exception handler multiple times.

Description

Since the child process sends a message to the parent process to ask to start the debugger. but we want to open the debugger only the first time when the exception handler called, but the if-statement was located later in sending a message.

I added the condition to check the handled before or not so exceptional handling debugger only opens once.

@michprev
Copy link
Member

michprev commented Oct 2, 2024

Merged in #349

@michprev michprev closed this Oct 2, 2024
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.

2 participants