microsoft / microsoft/vscode-cmake-tools

[Feature] Show imported targets and their properties in the debugger

Open
#4,476 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Request Overview

Imported targets don't show up in the debugger, so there's no way to inspect their properties except by modifying the CMake script to add `get_target_property` and `message` calls.

I tried to do a quick background check to see whether CMake exposes this information to debuggers, and this plugin doesn't consume it, or whether CMake doesn't expose it and I need to redo this feature request on Kitware's tracker, but I didn't find anything definitive, so sorry if this is the wrong tracker.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by determining whether CMake exposes imported targets and their properties to debuggers, then inspect how this plugin consumes debugger information. Done means imported targets appear in the debugger with their properties available for inspection, without requiring get_target_property or message calls in the CMake script.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
devtools
Issue type
Feature
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.