In this video I will go over how you can set up VSC (Visual Studio Code) to debug your C++ programs.
You can download the templates used in this video from:
- Simple g++ compile: https://github.com/ourarash/gcc_debug_template
- Build with Bazel: https://github.com/ourarash/cpp-template
I will cover the following topics:
- Debugging using simple g++ and gdb
- Debugging using Bazel
- Breakpoints
- Conditional Breakpoints
- Function Breakpoint
- Variable Watch
- Call Stack
More info on VSC debugging: https://code.visualstudio.com/docs/cpp/cpp-debug
Download
0 formats
No download links available.
Debugging C++ in Visual Studio Code using gcc/gdb and Bazel | NatokHD