Skip to content

Conversation

swernli
Copy link
Collaborator

@swernli swernli commented Jul 14, 2025

This change updates the way that runtime errors are reported from debug execution, allowing the VS Code debugger to break in and treat those as "exceptions" with detailed information. The tweaks avoid extra checks during the tight loop for evaluation, and keeps behavior the same for non-debug execution (like what Python native binaries do).

This change updates the way that runtime errors are reported from debug execution, allowing the VS Code debugger to break in and treat those as "exceptions" with detailed information. The tweaks avoid extra checks during the tight loop for evaluation, and keeps behavior the same for non-debug execution (like what Python native binaries do).
@swernli swernli enabled auto-merge July 15, 2025 16:56
@swernli swernli added this pull request to the merge queue Jul 15, 2025
Merged via the queue into main with commit b3a4022 Jul 15, 2025
18 checks passed
@swernli swernli deleted the swernli/improve-runtime-error-debugging branch July 15, 2025 17: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.

2 participants