forked from OpenMx/OpenMx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gdbinit
More file actions
17 lines (16 loc) · 686 Bytes
/
.gdbinit
File metadata and controls
17 lines (16 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set print thread-events off
dir src
set breakpoint pending on
# Rf_errorcall is used for some out of memory conditions
b Rf_errorcall
# _omxRaiseError is not necessarily an error; optimizer can test non-pd covariance matrices during search
#b _omxRaiseError
# FitContext::recordIterationError is used for soft feasibility constraints
#b FitContext::recordIterationError
catch throw
# Hints:
echo Use Rf_PrintValue(SEXP) to pretty print R data from gdb\n
# Use pda(mem, rows, cols) to dump a matrix of doubles in column major order
# Use pia(mem, rows, cols) to dump a matrix of ints in column major order
echo To debug with a single thread, use:\n
echo set env OMP_NUM_THREADS = 1\n