microsoft/vscode-edge-debug2

Value of edited variables briefly flash to old value after adding variable to watch panel

Shenniey opened this issue · 0 comments

This issue only occurs on Microsoft Edge (Chromium) and not on EdgeHTML.

Step of reproduce: (Repro Gifs has been attached)

  1. Run below commands in a command prompt:
    npm install -g @angular/cli
    ng new my-app
    cd my-app
    ng serve

  2. Open my-app folder in another command prompt.

  3. Configure the Edge debugger with launch.json file.

  4. Set breakpoint at var a = 1; of app.component.ts.

  5. Launch Microsoft Edge (Chromium) against localhost(F5).

  6. Set value of variable a to 2.

  7. Add variable a to watch panel.

Result: Value of edited variable changes to previous value after adding it to watch panel.
EditedValueChangeBack

Note: if you step over onto the next line of code, the panel will display the correct value