Fix stepping with JIT
This commit is contained in:
parent
edbd4bfc29
commit
144aa2f5b1
1 changed files with 5 additions and 7 deletions
|
@ -178,13 +178,11 @@ namespace ARMeilleure.Instructions
|
||||||
ExecutionContext context = GetContext();
|
ExecutionContext context = GetContext();
|
||||||
|
|
||||||
// If debugging, we'll handle interrupts outside
|
// If debugging, we'll handle interrupts outside
|
||||||
if (Optimizations.EnableDebugging && context.Interrupted)
|
if (!Optimizations.EnableDebugging)
|
||||||
{
|
{
|
||||||
return false;
|
context.CheckInterrupt();
|
||||||
}
|
}
|
||||||
|
|
||||||
context.CheckInterrupt();
|
|
||||||
|
|
||||||
Statistics.ResumeTimer();
|
Statistics.ResumeTimer();
|
||||||
|
|
||||||
return context.Running;
|
return context.Running;
|
||||||
|
|
Loading…
Reference in a new issue