microsoft / microsoft/vscode-cpptools

Call Hierarchy sometimes does not expand Callers Of properly when multiple are expanded quickly

Open
#11,747 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Language Service
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

We've not be able to narrow down the reason yet, but Callers Of randomly does not work.

In cases where it fails to expand an item properly, we do not see the corresponding cpptools/callHierarchyCallsTo in the debug log output. That would seem to suggest the issue is on the TypeScript side.

This may be a VS Code issue, as the repro seems to correspond with not getting a call to the CallHierarchyProvider. But we should rule out whether that might be due to some incorrect information we've provided.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing rapid expansion of multiple Callers Of items and inspect the debug log for the corresponding cpptools/callHierarchyCallsTo requests. Trace the CallHierarchyProvider interaction to determine whether the missing request originates in the extension or VS Code; done means the failure cause is identified and documented with a reliable reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.