Skip to content

Variable in watch list not updating after breakpoint #412

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

Closed
3 tasks done
ErnestoELC opened this issue Jun 11, 2021 · 1 comment
Closed
3 tasks done

Variable in watch list not updating after breakpoint #412

ErnestoELC opened this issue Jun 11, 2021 · 1 comment
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: debugger Related to the integrated debugger type: imperfection Perceived defect in any part of project

Comments

@ErnestoELC
Copy link

ErnestoELC commented Jun 11, 2021

Describe the problem

When I type a variable to WATCH, I noticed that it doesn't get automatically updated after the execution stops on a breakpoint. So in order to display the updated value I need to double click in the variable and then click ok in the pop window.

Segger_debug_test._.Arduino.IDE.2.0.0-beta.7.2021-06-11.15-05-53.mp4

To reproduce

  1. Add variable counter to the watch list
  2. add a breakpoint at some pointer after the variable is increased in a loop
  3. Start execution
  4. On a variable, inspect the variable on the watch list

Expected behavior

The variable should be updated after the execution is stopped in the breakpoint

Arduino IDE version

2.0.0-beta.7

Operating system

Windows

Operating system version

10

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@cmaglie cmaglie removed the type: bug label Sep 16, 2021
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@per1234 per1234 added topic: code Related to content of the project itself topic: debugger Related to the integrated debugger labels Oct 25, 2021
@kittaakos kittaakos self-assigned this Nov 25, 2022
@per1234
Copy link
Contributor

per1234 commented Dec 2, 2022

This bug has been resolved. I believe it was resolved by #1706.

The reason I am not certain is because another bug (or perhaps another manifestation of this bug) made it impossible to start the debugger when a watch expression was set (#1582). That bug was introduced at 112153f. I can still reproduce #412 up to the commit before that one (69ac1f4), so I am at least certain it was not fixed before the introduction of #1582.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: debugger Related to the integrated debugger type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

5 participants