mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
24 lines
668 B
Plaintext
24 lines
668 B
Plaintext
#
|
|
# lldb calc
|
|
#
|
|
# IMPORTANT: Under macOS, use this local ./lldbinit file, your home directory file:
|
|
#
|
|
# ~/.lldbinit
|
|
#
|
|
# must contain this line (w/o the leading # and whitespace):
|
|
#
|
|
# settings set target.load-cwd-lldbinit true
|
|
#
|
|
# Optimizing calc may make it harder to trace what calc is doing,
|
|
# To turn off optimization while debugging, try:
|
|
#
|
|
# make clobber all DEBUG="-g3"
|
|
#
|
|
# To debug calc with lldb from this directory, just run:
|
|
#
|
|
# lldb
|
|
#
|
|
target create "./calc"
|
|
process launch -tty --environment CALCPATH=./cal --environment LD_LIBRARY_PATH=. --environment DYLD_LIBRARY_PATH=. --environment CALCHELP=./help --environment CALCCUSTOMHELP=./custom -- -q -d
|
|
b main
|