sdb-dbg
program in the SDK.--db=%localappdata%\sdbare\santedb.sqlite
). Note this is the default operating mode when launching the application from the start menu.o
) will only load the file into the current source buffer, whereas "execute file" (x
) will load the file and execute it.pf
) command:b
) command and a line number. For example, the commands b 3
and then pf 0 10
will set a breakpoint at line 3 and then print the file from lines 0 to 10:bl
).sdq
) to load a patient from the databasesfv
, sfx
, or sfj
) to load the patient from view model, XML or JSON respectivelyss
)dx
)dj
)dv
)xs
), which is useful if you're using the set data query operation to select a single result.go.rule
). Because a breakpoint is set on line 3 in BeforeInsert the debugger will break on line 3:pb
) to get context of where our breakpoint is (highlighted with +++>)dl
) or dump global (dg
) to inspect the contents of the local or global JavaScript scope:go
) which will run the line of code and stopgi
) which will run the line of code and break at the first line of a called functiongn
) which will continue to run the program until the next break point is hitgu
) which will execute until the current scope is exitedgo
we get the following output: