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

Tuple elements get duplicated with built-in debugger #5806

Open
pdawyndt opened this issue Sep 19, 2024 · 1 comment
Open

Tuple elements get duplicated with built-in debugger #5806

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

Comments

@pdawyndt
Copy link
Contributor

I noticed a tuple (displayed as a return value) with two elements, whose elements are shown twice in the graphical representation:

image

Submission: https://dodona.be/nl/courses/2802/activities/1149379220/
Testcase: tab "Schranken", testcase #1, step 1643 / 1720

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

In the same debug step I refer to above, there's a list that seems to have a similar issue (but know displayed with a negative index).

image

Could it be that this bug is due to the way long lists are only shown partially by default (only first and last part shown), but that this optimization is not correctly implemented for short lists/tuples (where e.g. the first and last two elements of a list/tuple with only two elements are actually the same two elements, and thus are duplicated)?

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
Status: Unplanned
Development

No branches or pull requests

1 participant