We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5f32e commit e51383cCopy full SHA for e51383c
src/Debug/debugger.cpp
@@ -144,6 +144,9 @@ bool Debugger::isBreakpoint(uint8_t *loc) {
144
}
145
146
void Debugger::notifyBreakpoint(Module *m, uint8_t *pc_ptr) {
147
+ if (snapshotPolicy == SnapshotPolicy::checkpointing) {
148
+ checkpoint(m);
149
+ }
150
this->mark = nullptr;
151
const uint32_t bp = toVirtualAddress(pc_ptr, m);
152
this->channel->write("AT %" PRIu32 "!\n", bp);
0 commit comments