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

Clear watch list between debug sessions? #259

Closed
lassepe opened this issue Jun 10, 2020 · 1 comment
Closed

Clear watch list between debug sessions? #259

lassepe opened this issue Jun 10, 2020 · 1 comment

Comments

@lassepe
Copy link

lassepe commented Jun 10, 2020

Currently, the watch list is not cleared between different debug sessions. If I first @enter some call f(x) and put something on the watch list with w add expr (e.g. w add length(x)), that same expression will stay on the watch list for all future debug sessions until explicitly removed.

That is, if later I @enter another call g(a, b) that expression will still be on the watch list and is most likely not even meaningful for that call.

Is this the intended behavior? I can see this being convenient in cases where one debugs the same function multiple times (thus avoiding having to set up the watch list every time).

@KristofferC
Copy link
Member

In my experience you often debug the same function multiple times so it seemed convenient to me to keep the watch list. It is simple enough to clear.

@lassepe lassepe closed this as completed Jun 10, 2020
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

No branches or pull requests

2 participants