...
if (debug) {
// run the njvm in debug mode
csmkdb_run_debugger();
} else {
// run the njvm in normal mode
run_njvm();
}
...
...
do {
...
if (debug) break;
}
while(!HALT)
...
...
csmkdb_vars_init(stack, sda, &specialRegister, prog, &stackPointer, &framePointer, &progCounter, instrNumber, sdaNumber, "Dummy",
&debug, NJVM_VERSION, run, &breakPoint);
...