Reimplement debugger resize & disassembly (#2876)

* Reimplement debugger resize
fix interrupt

* add splitter to disassembly
fix debugger regression of last commit
fix gotoaddr pos

* travis sth sth

* add drag & drop to cg_disasm

* check for invalid address on set breakpoint
reenable debugger controls on Emu.IsReady()

* check for valid address more thoroughly
This commit is contained in:
Megamouse 2017-06-16 20:35:58 +02:00 committed by Ivan
parent aca5c73fb3
commit 31cedb6192
6 changed files with 173 additions and 78 deletions

View file

@ -742,6 +742,7 @@ void main_window::OnEmuStop()
void main_window::OnEmuReady()
{
debuggerFrame->EnableButtons(true);
#ifdef _WIN32
thumb_playPause->setToolTip(Emu.IsReady() ? tr("Start") : tr("Resume"));
thumb_playPause->setIcon(icon_play);
@ -1162,7 +1163,7 @@ void main_window::CreateConnects()
sdid->show();
});
connect(toolsCgDisasmAct, &QAction::triggered, [=](){
cg_disasm_window* cgdw = new cg_disasm_window(this);
cg_disasm_window* cgdw = new cg_disasm_window(guiSettings, this);
cgdw->show();
});
connect(toolskernel_explorerAct, &QAction::triggered, [=](){