mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mrdb.c: do not skip OP_JMP on step execution.
This commit is contained in:
@@ -574,7 +574,7 @@ mrb_code_fetch_hook(mrb_state *mrb, const mrb_irep *irep, const mrb_code *pc, mr
|
||||
|
||||
switch (dbg->xm) {
|
||||
case DBG_STEP:
|
||||
if (!file || (dbg->prvfile == file && dbg->prvline == line)) {
|
||||
if (*pc != OP_JMP && (!file || (dbg->prvfile == file && dbg->prvline == line))) {
|
||||
return;
|
||||
}
|
||||
dbg->method_bpno = 0;
|
||||
|
||||
Reference in New Issue
Block a user