Cannot view contents of std::vector<std::shared_ptr> in VSCode C++ Debugger
I’m trying to debug a program in C++.
For some reason, I’m unable to see the contents of a std::vector of pointers in the VSCode debugger. The vector appears in the debugger, but I can’t inspect the actual objects or their details. How can I resolve this and view the contents clearly?
debugging problem when i try debugging code in cpp
why this problem cannot be solved i try many times and don’t change
and cannot see the print code but code is debugging
what i can do it
lunch.json
Visual Studio Code terminal dont taking input output in debug mode
I have problem with Visual Studio Code. I wrote simple program to input age and output inputted age. When I just run program in run mode in terminal is possible to input age and it is outputted. But in debug mode in terminal is nothing no possible to input age and no outputted age. Why? Can you help me pls? Adding code: