microsoft / microsoft/vscode-cmake-tools

CMake Debugger does not display properties

Open
#3,303 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Feature: CMake Debugger
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

Brief Issue Summary

Currently the CMake Debugger only seems to show variables and not properties associated with the current directory or global scope:

image

Note: using cmake-tools build from #3277 to attach to an external cmake debugging session.

(Could also be a CMake issue not passing the required info via DAP? But the CMake issues about the debugger seems to indicate that this is implemented?)

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

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 the issue with the cmake-tools build from #3277 while attaching to an external CMake debugging session. Compare the variables shown by the CMake Debugger with the missing current-directory and global properties, and check whether the DAP session provides that information. Done means both property scopes are displayed alongside variables.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.