summaryrefslogtreecommitdiff
path: root/src/trace
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace')
-rw-r--r--src/trace/Debugger.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace/Debugger.zig b/src/trace/Debugger.zig
index 886b0fc..971b50b 100644
--- a/src/trace/Debugger.zig
+++ b/src/trace/Debugger.zig
@@ -253,7 +253,7 @@ pub fn step(d: *Debugger) !Stop {
var stop = try d.stepOne();
if (stop == .step and d.proc.tid == tid) {
if (d.lineAt(d.regs.rip)) |here| {
- if (from == null or from.?.key != here.key or from.?.line != here.line) return d.report(.step);
+ if (from == null or from.?.key != here.key or from.?.line != here.line or d.breakpointAt(d.regs.rip) != null) return d.report(.step);
continue;
}
// In code without lines. A call there from code with lines