Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 612 Bytes

lldb.md

File metadata and controls

28 lines (22 loc) · 612 Bytes

LLDB

LLDB is a high performance debugger, and the default debugger in Xcode on macOS.

After compiling with ./configure --enable-debug:

Running:

lldb src/qt/bitcoin-qt
(lldb) target create "src/qt/bitcoin-qt"
Current executable set to 'src/qt/bitcoin-qt' (x86_64).
(lldb) run
...

Passing arguments:

src/qt/bitcoin-qt -- -testnet

(lldb) target create "src/qt/bitcoin-qt"
Current executable set to 'src/qt/bitcoin-qt' (x86_64).
(lldb) settings set -- target.run-args  "-testnet"
(lldb) run
...

Getting a backtrace:

After a crash, pass bt.