Skip to content

Instantly share code, notes, and snippets.

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

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