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

Set Next statement does not work in mixed mode #8073

Open
rchiodo opened this issue Nov 19, 2024 · 0 comments
Open

Set Next statement does not work in mixed mode #8073

rchiodo opened this issue Nov 19, 2024 · 0 comments
Assignees

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Nov 19, 2024

VS 2017 allowed set next statement within a frame of a python call. VS 2022 does not.

The old code did this:

def on_legacySetLineNumber(self, request, args):

Theoretically we could do the same. f_lineno is writeable for this exact situation.
https://docs.python.org/3/reference/datamodel.html#frame.f_lineno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants