-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No tooltip on hover over a variable within closure and async function while debugging #31469
Comments
Experiencing this too. My project is purely synchronous library, during debug hover only works for "Local" scoped variables and sometimes first Closure level, everything else doesn't show tooltip. I'm pretty sure this started with last update. |
Can you please try with vscode insiders since we did some work that improved this |
@isidorn tried vscode insiders, still just Locals working. In screenshot below, only |
@Deilan first of all thanks for the awesome repro steps, I wish all our issues are filed like this In step 5 everything works fine for in latest vscode insiders. Note that Forwarding to @roblourens |
The scope ranges are source mapped from TS to JS, right? |
Thanks for the repro case. The scope starts on an async function definition line. In this case that line is inserted by TS, so it doesn't have a sourcemapping, and we fail to sourcemap it. I can probably deal with this by trying again on lineNum+1 when it fails for a scope line. |
Steps to Reproduce:
git clone https://github.com/Deilan/vscode-issue-31469.git
.yarn install
ornpm install
.src/index.ts
at lines 10 and 19Launch via nodemon
.syncBeforeDelayArg
at line 5 and 6 - tooltip exists.Hover over
syncDelayResult
at line 7 - tooltip exists.Hover over
syncAfterDelayArg
at line 8 - tooltip exists.Hover over
syncBeforeDelayArg
at line 9 - tooltip does not exist.Hover over
syncDelayResult
at line 9 - tooltip exists.Hover over
syncAfterDelayArg
at line 9 - tooltip exists.No
syncBeforeDelayArg
at debug sidebar's local variables list.asyncBeforeDelayArg
at line 15 and 16 - tooltip does not exist.Hover over
asyncDelayResult
at line 16 - tooltip does not exist.Hover over
asyncAfterDelayArg
at line 17 - tooltip does not exist.Hover over
asyncBeforeDelayArg
at line 19 - tooltip does not exist.Hover over
asyncDelayResult
at line 19 - tooltip does not exist.Hover over
asyncAfterDelayArg
at line 19 - tooltip does not exist.Reproduces without extensions: Yes.
The text was updated successfully, but these errors were encountered: