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

Watch variable values change when clicking its value text and immediately clicking away to deselect #386

Open
luis-reyes-a opened this issue Dec 31, 2024 · 0 comments
Labels
Bug A report of unintended or broken behavior. Debugger Pertains to the debugger.

Comments

@luis-reyes-a
Copy link

version: 0.9.14 ALPHA [a40c26a]

If you select the expression value of a watch window variable, it selects the text. If you then click away, it will sometimes change the value. This makes it very easy to accidently change a value you didn't want to change when debugging. Below is a video to demonstrate.

But anyways, I don't think this is technically bug. I think what's happening is when you click away the text expression gets evaluated again. Floats are displayed without the 'f' suffix and when the expression gets evaluated again it doesn't have the 'f' suffix that it expects and so it just sets the value to 0.0. This seems to happen to floats only.

What I think the desired behavior should be is that clicking away should never change the value at all if text wasn't modified. It would also be nice to be able to set floating point numbers without having to type a decimal and 'f' suffix.

2024-12-31_15-37-30.mp4
@ryanfleury ryanfleury added Debugger Pertains to the debugger. Bug A report of unintended or broken behavior. labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A report of unintended or broken behavior. Debugger Pertains to the debugger.
Projects
None yet
Development

No branches or pull requests

2 participants