New issue
Advanced search Search tips

Issue 890920 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 921339
Owner:
Closed: Jan 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug-Regression



Sign in to add a comment

'this' variable appears duplicated in some scenarios

Reported by dig...@hotmail.com, Oct 1

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Steps to reproduce the problem:
1. Create an Angular application in ASP.NET Core 2.1
2. Set breakpoint in ClientApp\src\app\counter\counter.component.ts, line 11
3. Go to the counter page and click the button to hit the breakpoint

What is the expected behavior?
A single this variable appear in the local scope

What went wrong?
Two this variables appear in the local scope. They point to the same object and they have different CDTP object ids...

Did this work before? Yes 68

Does this work in other browsers? Yes

Chrome version: 69.0.3497.100  Channel: stable
OS Version: 10.0
Flash Version: 

See https://github.com/Microsoft/vscode-chrome-debug-core/pull/362#issuecomment-425750640 for more details
 
More detailed instructions as to how to reproduce this issue in VS:
1. Make sure that the ASP.NET and web development workload is installed in the Visual Studio Installer
2. Open the new project wizard in VS:
3. Select an ASP.NET Core Web Application and click OK:
4. Select: .NET Core, ASP.NET Core 2.1, Angular, and unselect Configure for HTTPS, and then click OK:
5. Set a breakpoint on ClientApp\src\app\counter\counter.component.ts on line 11.
6. Start the debugger by pressing F5
7. Go to the Counter tab and click the Increment button
8. Check the local variables when the breakpoint hit to see the issue:

Screenshots for the instructions available at: https://github.com/Microsoft/vscode-chrome-debug-core/pull/362#issuecomment-426013037
Labels: Needs-Triage-M69 Needs-Bisect
Cc: swarnasree.mukkala@chromium.org
Labels: Triaged-ET TE-NeedsTriageHelp
Thanks for filing the issue.

The issue seems to be related to ASP.NET, which is out of scope for TE. Hence adding TE-NeedsTriageHelp label for further investigation of the issue.

Thanks.!
Components: -Blink>JavaScript Platform>DevTools>JavaScript
Labels: -Hotlist-Interop
Just to clarify: The "this" duplicated local variables appears also on the Chrome Dev Tools Debugger. You just need ASP.NET to run the web-server.
Labels: -Pri-2 Pri-3
Status: Available (was: Unconfirmed)
Thank you for the issue! We'll take a look at this at some point, however it seems to be a very low priority issue.
Owner: alph@chromium.org
Status: Assigned (was: Available)
Sounds like  bug 921339  that has a simpler repro bisected to a tentatively suspected crrev.com/c/1103576
Mergedinto: 921339
Status: Duplicate (was: Assigned)

Sign in to add a comment