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

Lazy fetch variables #19

Merged
merged 5 commits into from
Aug 18, 2024
Merged

Lazy fetch variables #19

merged 5 commits into from
Aug 18, 2024

Conversation

RemcoSmitsDev
Copy link
Owner

@RemcoSmitsDev RemcoSmitsDev commented Aug 17, 2024

This fixes a memory leak when debugger python code. The python debug adapter sent infinite amount of nested variables back. Before this change, we did fetch all the variables when we received the stopped event, but since this is not supported for all the debug adapters. We have to implement lazy fetching variables by default.

@RemcoSmitsDev RemcoSmitsDev marked this pull request as ready for review August 18, 2024 14:19
@RemcoSmitsDev RemcoSmitsDev merged commit 11b2bc1 into debugger Aug 18, 2024
0 of 4 checks passed
@RemcoSmitsDev RemcoSmitsDev deleted the lazy-fetch-variables branch August 18, 2024 14:44
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.

1 participant