2000-02-27 16:32:52 -06:00
|
|
|
#!/usr/bin/gdb -x
|
1999-01-20 00:02:12 -06:00
|
|
|
# You can debug gnucash by running gdb as "gdb -x gnucash.gdb-cmds"
|
|
|
|
# and then executing "run-gnucash somefile".
|
1999-02-01 23:05:31 -06:00
|
|
|
#
|
|
|
|
# Secrets: gdb requires that parens be escaped as well as quotes ...
|
1999-01-20 00:02:12 -06:00
|
|
|
|
|
|
|
file gnucash.bin
|
|
|
|
|
2000-02-27 16:32:52 -06:00
|
|
|
set env GNC_BOOTSTRAP_SCM ./share/scm/bootstrap.scm
|
|
|
|
set env GNC_SCM_LOAD_PATH ("./share/scm")
|
|
|
|
set env GNC_DEBUG t
|
1999-01-20 00:02:12 -06:00
|
|
|
define run-gnucash
|
2000-02-27 16:32:52 -06:00
|
|
|
|
1999-01-20 00:02:12 -06:00
|
|
|
set args --debug \
|
|
|
|
--share-dir ./share \
|
|
|
|
--config-dir ./etc \
|
1999-02-01 23:05:31 -06:00
|
|
|
--doc-path \(\"\(./Docs\)\"\"\(./Reports\)\"\) \
|
|
|
|
$arg0
|
1999-01-20 00:02:12 -06:00
|
|
|
run
|
|
|
|
end
|