Skip to content

devel0/example-vscode-linux-cpp-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-vscode-linux-cpp-debug

c++

skeleton of c++ application in linux using makefile and vscode debug

img

prerequisites

create new project

  • [F1] easy cpp ( select Easy Cpp/C++: Create new C++ project )
    • G++/GDB Linux

test breakpoint

  • hit F9 on row to set breakpoint

troubleshoot

  • using vscode 1.30 gives an error when starting debug Stopping due to fatal error: NullReferenceException: Object reference not set to an instance of an object
    • solve by setting "externalConsole" to false in .vscode/launch.json

About

skeleton of c++ application in linux using makefile and vscode debug

Topics

Resources

License

Stars

Watchers

Forks