microsoft / MIEngine

The Visual Studio MI Debug Engine ("MIEngine") provides an open-source Visual Studio Debugger extension that works with MI-enabled debuggers such as gdb and lldb.
MIT License
818 stars 218 forks source link

Bug 1447876: Local window variable value can not be synchronized with… #1300

Closed gc46 closed 2 years ago

gc46 commented 2 years ago

… Immediate window value change

We want _hasGottenLocalsAndParams to be false when the user modifies the value of a Locals variable in the Immediate window. By resetting _hasGottenLocalsAndParams to its default value before the call to EnsureLocalsAndParameters(), the Locals variable values are updated correctly.

Note: there is a very noticeable lag to the change in the Locals window for the current implementation.

Before image

After image