Skip to content
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

macOS: cmd+click on Core Foundation types doesn't work #9974

Closed
H-G-Hristov opened this issue Oct 8, 2022 · 2 comments
Closed

macOS: cmd+click on Core Foundation types doesn't work #9974

H-G-Hristov opened this issue Oct 8, 2022 · 2 comments
Assignees
Labels
Language Service more info needed The issue report is not actionable in its current state

Comments

@H-G-Hristov
Copy link

H-G-Hristov commented Oct 8, 2022

Environment

  • OS and Version: macOS
  • VS Code Version: 1.72.9
  • C/C++ Extension Version: 1.13.2
  • Other extensions you installed (and if the issue persists after disabling them):
  • If using SSH remote, specify OS of remote machine:
  • A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).

Bug Summary and Steps to Reproduce

Bug Summary:

I'm reporting to track:

#9688 (comment)

With 1.13.2 I still happened that I was unable to cmd+click to a definition of a Core Foundation type (Apple SDK header).
There was no stuck flame.

After I restarted VSCode the issue fixed itself.

Is cmd+click issue related to the wordexp issue?

@H-G-Hristov That sounds like a different issue. If wordexp is stuck then all IntelliSense operations would be stuck and wordexp would be on a call stack. If only Go to Definition doesn't work that could be caused by something else. Are you able to provide more repro info or logging or a call stack? It sounds like it's random?

I have been experiencing this previously and I have expected that it will be fixed by:
#9894
yet I have experienced it once with the latest extension preview. So I'll be observing and will try to give more details.

Steps to reproduce:

  1. Open file
  2. Attempt cmd+click on a Core Foundation type to inspect the declaration in the source file (maybe any other type)
  3. Nothing happens (the text is not clickable)

Expected behavior

VSCode will open the system header and display the declaration.

Code sample and Logs

- none

Screenshots

No response

Additional context

No response

@michelleangela
Copy link
Contributor

@H-G-Hristov
Could you provide additional info and logs to help with determining the cause of the issue?

If the language server is crashing, here is how to provide call stack logs.

Providing call stacks:
For bugs like crashes, deadlocks, infinite loops, etc. that we are not able to repro and for which the call stack may be useful, please attach a debugger and/or create a dmp and provide the call stacks. Windows binaries have symbols available in VS Code by setting your "symbolSearchPath" to "https://msdl.microsoft.com/download/symbols".

Instructions for attaching debugger to language service process:
https://github.com/microsoft/vscode-cpptools/wiki/Attaching-debugger-to-cpptools-or-cpptools%E2%80%90srv.

@michelleangela michelleangela self-assigned this Oct 10, 2022
@michelleangela michelleangela added Language Service more info needed The issue report is not actionable in its current state labels Oct 10, 2022
@github-actions
Copy link

This issue has been closed because it needs more information and has not had recent activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Language Service more info needed The issue report is not actionable in its current state
Projects
None yet
Development

No branches or pull requests

2 participants