microsoft / microsoft/vscode-cmake-tools

Automatically rebuild target after restarting a debug session

Open
#4,114 12 comments 7 reactions 0 assignees View on GitHub
enhancement Feature: debug/launch more votes needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

CMake extension allows to start debugging right from the box, however, if you modify source files while debugging and then hit Restart on debugging controls it won't rebuild the project.

Is it possible to control the behavior of this button to check for modifications?

Demo: https://github.com/microsoft/vscode-cmake-tools/issues/4114#issuecomment-2407098500

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the CMake Tools extension by modifying source files during a debug session and selecting Restart. Trace how the debug restart action invokes the build workflow; done means restarting after modifications detects the changes and rebuilds the target before debugging resumes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript, vscode
Domain
build-system, 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.