Skip to content

fake gdb use paramiko(ssh) to debug program on remote server

Notifications You must be signed in to change notification settings

hyj0/gdb-remote-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdb-remote-debug

fake gdb use paramiko(ssh) to debug program on remote server, now use for Clion

how to install:

step1:

pip install PyInstaller paramiko ConfigParser
cd gdb-remote-debug dir
run: python setup.py

step2:

copy gdb-remote-debug/dist/WinProcessListHelper.exe to Clion's install dir's bin/WinProcessListHelper.exe (backup it)

step3:

edit gdb-remote-debug/config.ini
make sure the server files sync local files

step4:

Clion:[File]-->[Settings...]-->[Build,Exection,Develoyment]-->[Debugger] choise gdb-remote-debug/dist/gdb.exe
if can not choise, please replace the Cygwin/Mingw's gdb.exe with our gdb.exe

how to use:

compile your code with -g on server and run it with user in the gdb-remote-dubug/config.ini
use Clion make breakpoint
Clion:[run]-->[Attach to Local Process...] choise program that you run

good luck

About

fake gdb use paramiko(ssh) to debug program on remote server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages