dash/contrib/auto_gdb/dash_dbg.sh
2020-07-29 11:04:30 -05:00

7 lines
216 B
Bash
Executable File

#!/bin/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}