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

Make breakpoints work better in interpreter #16389

Merged
merged 5 commits into from
Nov 14, 2022

Conversation

unknownbrackets
Copy link
Collaborator

This runs any CPU or memory breakpoints from the interpreter in a separate runloop, so there's not that much speed impact, and enables them in release. It does seem to be about 2-3% slower, but it seems to vary by the whims of the CPU a lot, I got less common timings that were faster by about 2% even.

Most people will be using IR or jit, so won't matter much anyway, I suppose. I guess this is good for completeness and comparing with IR or jit, especially the memory breakpoints.

Fixes #16311.

-[Unknown]

@unknownbrackets unknownbrackets added this to the v1.14.0 milestone Nov 14, 2022
@hrydgard
Copy link
Owner

Very nice, this will do just fine.

@hrydgard hrydgard merged commit 3f133be into hrydgard:master Nov 14, 2022
@unknownbrackets unknownbrackets deleted the interp-breakpoint branch November 14, 2022 07:22
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.

Debug x64 breakpoints unpassable in interpreter
2 participants