mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
532 B
21 lines
532 B
#!/usr/bin/gdb -x
|
|
# You can debug gnucash by running gdb as "gdb -x gnucash.gdb-cmds"
|
|
# and then executing "run-gnucash somefile".
|
|
#
|
|
# Secrets: gdb requires that parens be escaped as well as quotes ...
|
|
|
|
file gnucash.bin
|
|
|
|
set env GNC_BOOTSTRAP_SCM ./share/scm/bootstrap.scm
|
|
set env GNC_SCM_LOAD_PATH ("./share/scm")
|
|
set env GNC_DEBUG t
|
|
define run-gnucash
|
|
|
|
set args --debug \
|
|
--share-dir ./share \
|
|
--config-dir ./etc \
|
|
--doc-path \(\"\(./Docs\)\"\"\(./Reports\)\"\) \
|
|
$arg0
|
|
run
|
|
end
|