mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 00:40:55 +08:00
12 lines
232 B
Plaintext
12 lines
232 B
Plaintext
# for linux
|
|
echo 'core.%e.%t.%p' > /proc/sys/kernel/core_pattern
|
|
|
|
# for macos
|
|
$ lldb --core "/cores/core.xxxxx"
|
|
(lldb) bt all
|
|
(lldb) thread select 1
|
|
(lldb) frame select 1
|
|
|
|
# open core dump on ubuntu
|
|
systemctl disable apport.service
|