![]() You need the source you want to debug locally in a C++ Makefile project.If you don’t do this you will get an error later that is unclear that is the problem. Select yes to add it to the registry so the host is known as trusted. You will be prompted that the servers host key is not in the registry. From your Windows machine connect to the Linux machine via Putty.These instructions are general enough they should cover connecting to any Linux machine from Windows, not just ones running in Azure. A good overview of this is the instructions for using SSH with Linux on Azure. Set your SSH connection to your Linux installation working with cert auth.Download plink, putty, pscp and puttygen from the Putty download site.For the type of installation, choose Custom and select Visual C++ Mobile Development under Cross Platform Mobile Development. You can trigger breakpoints and step through your source once you have things setup, which isn’t much additional work beyond getting an SSH connection properly setup. You’ll be working with your source files in Visual Studio, but they will be compiled on the remote Linux machine. Note also that this is not a cross-compile solution. This is a good example of why we’re open sourcing the GDB implementation itself. The approach does come with some limitations as I’m adapting the implementation that was designed specifically for Android, but it shows the potential for the capability. In this post I will share the steps I took to enable remote debugging of C++ code on Linux, Raspberry Pi. The interesting thing about the capability is that because it debugs using GDB, it’s possible to adapt the implementation to debug other targets that support GDB debugging as well (e.g. ![]() As you may have heard, Visual Studio 2015 introduces GDB support for Android development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |