Issue metadata
Sign in to add a comment
|
Local Variable showing undefined, after being populated by api call, using Angular2 and typescript
Reported by
tyler.mi...@gmail.com,
Jun 8 2017
|
||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Steps to reproduce the problem:
1. In Angular2 web app, use observables to call an api
2. create local, class level variable
3. assign response from api call to the local variable
4. in debug mode, check the value of response and local
variable
What is the expected behavior?
That the debug tool in chrome dev tools will display the value of the local variable properly
What went wrong?
The local variable, when moused over, would display as undefined, but would actually have the value from response saved properly. This is not an issue of moving the value from response to the local variable, but the local variable not displaying its value properly. See attached to get a better understanding.
Did this work before? N/A
Chrome version: 58.0.3029.110 Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 25.0 r0
As you can see in the pictures, the local variable allDocuments does get populated correctly, but dev tools isn't showing the value of the variable when moused over.
,
Jun 20 2017
Thanks for the report. Can you please expand this in the scope panel on the right side of DevTools under call stack and take screenshot of value of allDocuments?
,
Jun 20 2017
And if you can provide some repro scenario - it would be great.
,
Oct 13 2017
It looks like resolving scope variables based on source map issue. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by chenwilliam@chromium.org
, Jun 19 2017Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)