Exclude vscode c++ debugger header files
In GNU gdb (GDB) 14.1, i am wondering if it is possible to skip the bits/stdc++.h
files in vscode’s debugger. I’ve tried even skipping a single file -exec skip file C:\msys64\ucrt64\include\c++\13.2.0\bits\stl_tree.h
to no avail. I am wondering if anyone has tried this version, am I doing something wrong, or should I downgrade to an earlier version?
vscode, recognize json in custom pretty printer
I wrote a custom container that represents a vector (I know I could just use std::vector, this is for education purposes). The class contains a pointer to some data and I’d really like to be able to see the data instead of just the value of the pointer when I’m debugging.
VSCode can’t find the C++ executable
I recently installed C++ in VSCode and it allows me to edit source files with syntax highlighting but when I run, either with our without the debugger, it says the executable does not exist.
Visual Studio Code flags `requires` cand concepts as problems in C++
#include <iostream> #include <concepts> template <typename T> concept is_int = requires (T t) { sizeof(t) == sizeof(int); }; is_int auto add(is_int auto a, is_int auto b) { return a + b; } int main() { int a = 5; int b = 10; std::cout << add(a, b); } Problems – identifier “concept” is undefined this […]
How to view C++ arrays and strings in VS Code debugger
I’m using the Microsoft’s C/C++ extension for debugging and the outputs for arrays and strings look like:
Close multiple debug configurations by closing window (not using stopping/shift f5)
I’m using VSCode’s Compounds to launch my Server and Client configurations. I’ve enabled ‘stopAll’ in the compound settings. Stopping the debugger (Shift + f5) closes both windows, but manually clicking ‘X’ on either windows closes that window but doesn’t close the other. How can I make both windows close when I close one?
c++ vs powertech c++ debugger?
I’m learning how to configure Visual Studio code to build and run C++. Chat GPT failed me! It doesn’t know how to answer this question that pops up when I press F5, or to help me stop seeing it:
Why can I not compile C# by F5 when using vscode? [closed]
Closed 33 mins ago.