Debugger: fix "run to here" functionality.

This commit is contained in:
Unknown W. Brackets 2013-10-27 12:52:21 -07:00
parent 6b510c1c2f
commit f9e4cae3c0

View file

@ -1023,8 +1023,7 @@ void CtrlDisAsmView::onMouseUp(WPARAM wParam, LPARAM lParam, int button)
break;
case ID_DISASM_RUNTOHERE:
{
debugger->setBreakpoint(curAddress);
debugger->runToBreakpoint();
SendMessage(GetParent(wnd), WM_COMMAND, ID_DEBUG_RUNTOLINE, 0);
redraw();
}
break;