Skip to content

Prevent Stepping into Circuit Files during Debug #2480

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

Merged
merged 4 commits into from
Jun 6, 2025

Conversation

ScottCarda-MS
Copy link
Contributor

@ScottCarda-MS ScottCarda-MS commented Jun 2, 2025

This adds a de-spanning pass to the compiler to remove the spans for the contents of operations defined via circuit files. The operation declarations themselves retain their spans to support LS features, but the statements in the body of the operations are de-spanned. This prevents the debugger from stepping into the circuit files.

@ScottCarda-MS ScottCarda-MS marked this pull request as ready for review June 4, 2025 17:24
@ScottCarda-MS ScottCarda-MS added this pull request to the merge queue Jun 6, 2025
Merged via the queue into main with commit 374f470 Jun 6, 2025
18 checks passed
@ScottCarda-MS ScottCarda-MS deleted the sccarda/PreventSteppingIntoCircuitFiles branch June 6, 2025 17:54
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