microsoft / vscode-edge-debug2

This is a VS Code extension which helps you debug your JavaScript Code inside the Edge browser.
Other
37 stars 31 forks source link

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

Open Shenniey opened 5 years ago

Shenniey commented 5 years ago

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