sdb-dbgprogram 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.
b) command and a line number. For example, the commands
b 3and then
pf 0 10will set a breakpoint at line 3 and then print the file from lines 0 to 10:
sdq) to load a patient from the database
sfj) to load the patient from view model, XML or JSON respectively
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 (
go) which will run the line of code and stop
gi) which will run the line of code and break at the first line of a called function
gn) which will continue to run the program until the next break point is hit
gu) which will execute until the current scope is exited
gowe get the following output: