dash/contrib/auto_gdb/dash_dbg.sh
2020-12-18 12:55:45 -06:00

7 lines
224 B
Bash
Executable File

#!/usr/bin/env bash
# use testnet settings, if you need mainnet, use ~/.dashcore/dashd.pid file instead
export LC_ALL=C
dash_pid=$(<~/.dashcore/testnet3/dashd.pid)
sudo gdb -batch -ex "source debug.gdb" dashd ${dash_pid}