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

Stop tracking function calls that returned a value #647

Open
pdawyndt opened this issue Mar 2, 2024 · 0 comments
Open

Stop tracking function calls that returned a value #647

pdawyndt opened this issue Mar 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pdawyndt
Copy link
Contributor

pdawyndt commented Mar 2, 2024

Steps to reproduce:

  • go to exercise [])()
  • submit the sample solution
  • launch the debugger from any test case
  • you'll get

image

There are many calls to the function isISBN that returned a value, but are still tracked by the Python Tutor. This is actually an issue that is inherited from the original Python Tutor. But it results in a state explosion of the debug frames, which is why debugging takes much more time than needed.

You'll have to reduce the length of the list when running the test code in the original Pytbon Tutor, as it has a hard limit of 5600 bytes for the length of code samples.

@pdawyndt pdawyndt added the enhancement New feature or request label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant