/example-vscode-linux-cpp-debug

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

Primary LanguageMakefileMIT LicenseMIT

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