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

Values of closure variables read 'not available' in watch panel #157

Closed Shenniey closed 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 title = 'my-angular-app2; of app.component.ts.

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

  6. Add a Closure variable to the watch panel.

Result: Value shows up as 'not available' in watch panel (it is still correct in variables panel) image

Full Repro Gif: NotAvailableForClosureValue

Shenniey commented 5 years ago

This is a bug on chromium. Please track this bug on chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=992240