Skip to content

BiffaloBuff/hello-cmake-vsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-cmake-vsc

VSCode using CMake to launch gdb with program command line arguments

Steps

  1. Open this directory in VS Code
  2. Run the VS Code task "CMake: Configure" which will create a directory build and run cmake in it
  3. Open helloworld.cpp in a VSCode editor
  4. Run the task defined in launch.json "(gdb) Launch"
  5. The debugger launches, pulling information from CMake, and command line parameters are pulled from launch.json

References

https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/debug-launch.md#gdb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors