mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 17:06:36 -06:00
fcb7fdaeec
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2027 57a11ea4-9604-0410-9ed3-97b8803252fd
21 lines
532 B
Plaintext
21 lines
532 B
Plaintext
#!/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
|