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

Papyros debugger crashes on display of "imported class" #646

Open
pdawyndt opened this issue Mar 2, 2024 · 1 comment
Open

Papyros debugger crashes on display of "imported class" #646

pdawyndt opened this issue Mar 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pdawyndt
Copy link
Contributor

pdawyndt commented Mar 2, 2024

Steps to reproduce:

image

Running the code (with the test case) works as expected. The issue only shows up when debugging the code.

@pdawyndt pdawyndt added the bug Something isn't working label Mar 2, 2024
@pdawyndt
Copy link
Contributor Author

pdawyndt commented Mar 9, 2024

Similar issue appears when code contains

from collections import defaultdict

Example: https://dodona.be/nl/courses/3355/series/36011/activities/529807079/

The same issue does not appear when the import is modified into

import collections

Seems like the issue is related to our implementation of what the Python Tutor calls "imported class" (same issue does not appear in the original Python Tutor, i.e. "imported module" is properly displayed but "imported class" is not in Papyros):

image

@pdawyndt pdawyndt changed the title Debugger fails on datetime.date objects Papyros debugger crashes on display of "imported class" Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant