Cross Platform Linux Debugging with VS2019 and gdbserver

Perrett, Duncan 1 Reputation point
2021-10-15T09:47:36.96+00:00

I use VS2019 and remotely debug an Arm Linux target. I've set VS to gdbserver. I can't step into libstdc++ functions like the new operator, so to enter contructors I have to set breakpoints. The Target doesn't have gcc installed. Can I map gcc source from my host's C (or WSL) drive? I already use "Additional Sources File Path Map" for my own source code, could it be used for stdlibc++ source too?

My alternative would be to try and install gdb proper on the target but that would be a last resort.

Developer technologies Visual Studio Debugging
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.