Quantcast
Viewing all articles
Browse latest Browse all 541

[Visual Studio] Using Visual Studio 2015 to remote debugging C++ on linux

Image may be NSFW.
Clik here to view.

##Toturials

Announcing the VS GDB Debugger extension or Chinese version Refer here to understand whole process.

Note and Gotcha

How to add ssh key from Windows to Linux server?

  • Use ssh-keygen.exe to generate SSH (SSH-2 RSA)
  • Upload ssh public key to server:
    • login to server
    • vi ~/.ssh/authorized_keys
    • Add public key content to this file with start ssh-rsa
      • Note: Don’t forget the line break in windows, remove them all.
    • Done
  • Use private key locale to double confirm it.

My VS debugger cannot stop on breakpoint ?

Visual Studio will call gdb remotely and use gdb related command to communication. ex: add bookmark.

So, your local file name must identical with the remote source file name.
(ex: local: main.cpp, remote: main.cpp)

If file name not identical, the debugger will not stop on your breakpoint.

Where is pscp.exe and plink.exe

Download them from putty page


Viewing all articles
Browse latest Browse all 541

Trending Articles


Break up Quotes Tagalog Love Quote – Broken Hearted Quotes Tagalog


Girasoles para colorear


mayabang Quotes, Torpe Quotes, tanga Quotes


Tagalog Quotes About Crush – Tagalog Love Quotes


Patama Quotes : Tagalog Inspirational Quotes


Tagalog Quotes To Move on and More Love Love Love Quotes


Tropa Quotes


BARKADA TAGALOG QUOTES


Re:Mutton Pies (lleechef)


FORECLOSURE OF REAL ESTATE MORTGAGE


Pokemon para colorear


Sapos para colorear


Tagalog Love Quotes – Nagmamahal


OFW quotes : Pinoy Tagalog Quotes


Long Distance Relationship Tagalog Love Quotes


Tagalog Long Distance Relationship Love Quotes


5 Tagalog Relationship Rules


“BAHAY KUBO HUGOT”


Vimeo 10.7.0 by Vimeo.com, Inc.


Vimeo 10.7.1 by Vimeo.com, Inc.