C
Chris Jablonski
Guest
Hello Everyone,
I'm working on a embedded C++ project running on ARM microprocessor with a Debian Linux OS. We would like to use Visual Studio 2017 to remotely debug on the target hardware. Currently the team compiles the source code in a VM running Debian and then flashes the application to the target hardware. Unfortunately we can't fit the compiler and/or tool chain on the target hardware. There just isn't enough flash. We have SSH enabled and working on the target as well as gdbserver installed on the target hardware.
Is there a way to debug an application through Visual Studio running on target hardware which doesn't have a compiler installed on it? Can we use the symbol file generated by the compiler in the VM and remove the need for the compiler to be installed on the target hardware?
I've successfully run through examples where I write, compile and debug C++ code using Visual Studio 2017 on a Raspberry Pi. It seems to run great and gives us access to all the debug tools we've come to count on in Visual Studio. I haven't come across any forums or blogs which describe debugging on a target without a compiler.
Any information anyone can provide to point me in the right direction would be greatly appreciated.
Thanks,
Chris Jablonski
Continue reading...
I'm working on a embedded C++ project running on ARM microprocessor with a Debian Linux OS. We would like to use Visual Studio 2017 to remotely debug on the target hardware. Currently the team compiles the source code in a VM running Debian and then flashes the application to the target hardware. Unfortunately we can't fit the compiler and/or tool chain on the target hardware. There just isn't enough flash. We have SSH enabled and working on the target as well as gdbserver installed on the target hardware.
Is there a way to debug an application through Visual Studio running on target hardware which doesn't have a compiler installed on it? Can we use the symbol file generated by the compiler in the VM and remove the need for the compiler to be installed on the target hardware?
I've successfully run through examples where I write, compile and debug C++ code using Visual Studio 2017 on a Raspberry Pi. It seems to run great and gives us access to all the debug tools we've come to count on in Visual Studio. I haven't come across any forums or blogs which describe debugging on a target without a compiler.
Any information anyone can provide to point me in the right direction would be greatly appreciated.
Thanks,
Chris Jablonski
Continue reading...