Qt/Debugger: Implement "Code" widget

This commit is contained in:
spycrab
2018-02-14 23:25:01 +01:00
parent b289be43eb
commit 0a5f0efe18
21 changed files with 1696 additions and 13 deletions

View File

@ -194,7 +194,31 @@ void HotkeyScheduler::Run()
IsHotkey(HK_TRIGGER_SYNC_BUTTON, true));
}
// TODO Debugging shortcuts (Separate PR)
if (IsHotkey(HK_STEP))
emit Step();
if (IsHotkey(HK_STEP_OVER))
emit StepOver();
if (IsHotkey(HK_STEP_OUT))
emit StepOut();
if (IsHotkey(HK_SKIP))
emit Skip();
if (IsHotkey(HK_SHOW_PC))
emit ShowPC();
if (IsHotkey(HK_SET_PC))
emit Skip();
if (IsHotkey(HK_BP_TOGGLE))
emit ToggleBreakpoint();
if (IsHotkey(HK_BP_ADD))
emit AddBreakpoint();
// TODO: HK_MBP_ADD
if (SConfig::GetInstance().bWii)
{