Skip to content

Instantly share code, notes, and snippets.

@N0xFF
N0xFF / README.md
Last active Apr 3, 2018 — forked from csfrancis/gdb_ruby_backtrace.py
Debug and getting a backtrace of stuck Ruby process with gdb
View README.md

Steps

Get the PID ps -Af | grep ruby

Attach to the process sudo gdb -p PID

Enter in Python python

Run snippet gdb_ruby_backtrace.py