mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
add .lldbinit improve debug comment in Makefile.local
This commit is contained in:
18
.lldbinit
Normal file
18
.lldbinit
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# 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
|
||||
#
|
||||
# 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
|
@@ -98,7 +98,7 @@
|
||||
#
|
||||
# Uncomment these lines:
|
||||
#
|
||||
# DEBUG:= -O0 -g
|
||||
# DEBUG:= -O0 -g3
|
||||
# FSANITIZE:= -fsanitize=undefined -fsanitize=address -fsanitize=bool -fsanitize=bounds
|
||||
# FSANITIZE+= -fsanitize=enum -fsanitize=vptr -fsanitize=integer-divide-by-zero
|
||||
# FSANITIZE+= -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow
|
||||
|
Reference in New Issue
Block a user