You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transpile the code for ES5 target. (I used Typescript version 3.3.3)
Set breakpoint on the console.error(e) line.
Launch program, let the debugger pause at the breakpoint.
Expected behavior: if I move the cursor over the identifier e, or add a new watch, I see the value of e.
Actual behavior: I can't see the value of e. If I try to add a watch, I get e: not available.
Notes:
If I remove await from the code, the issue doesn't occur.
If I add watch for the identifier e_1 instead e, it works. The obvious reason is being the compiler has changed the variable name. See the relevant part of the transpiled file:
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Issue Type: Bug
Steps to reproduce:
console.error(e)
line.Expected behavior: if I move the cursor over the identifier
e
, or add a new watch, I see the value ofe
.Actual behavior: I can't see the value of
e
. If I try to add a watch, I gete: not available
.Notes:
await
from the code, the issue doesn't occur.e_1
insteade
, it works. The obvious reason is being the compiler has changed the variable name. See the relevant part of the transpiled file:VS Code version: Code 1.31.1 (1b8e830, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.17134
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: