Debugger: Init breakpoints right away after a power cycle
Otherwise breakpoints early on in the execution aren't hit at all
This commit is contained in:
parent
681b09d3a8
commit
f2be04343a
1 changed files with 2 additions and 1 deletions
|
@ -409,13 +409,14 @@ namespace Mesen.GUI.Debugger
|
|||
DebugApi.Step(_cpuType, 1, StepType.PpuStep);
|
||||
}
|
||||
|
||||
BreakpointManager.SetBreakpoints();
|
||||
|
||||
DebugState state = DebugApi.GetState();
|
||||
this.BeginInvoke((MethodInvoker)(() => {
|
||||
DebugWorkspaceManager.ImportDbgFile();
|
||||
LabelManager.RefreshLabels();
|
||||
DebugApi.RefreshDisassembly(_cpuType);
|
||||
UpdateDebugger(state, null);
|
||||
BreakpointManager.SetBreakpoints();
|
||||
}));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue