Reputation: 188
I try to use Visual Studio to debug on Raspberry with "gdb", but it always shows "Loading symbols for module /lib/ld-linux-armhf.so.3" and never finishes loading so that I can not debug my program.
Does anyone knows how to solve it? thx!
Upvotes: 1
Views: 1074
Reputation: 29
This problem is due to missing library in your pi. You can run this command for fix:
apt-get install libc6-dbg
Upvotes: 0
Reputation: 26
Run "sudo apt-get install gdbserver" and change Debugging Mode to "gdbserver" in Visual Studio. You can find the Debugging Mode setting in Right Click on Project > Properties > Debugging
This works fine for me!
Upvotes: 1