1
0
Fork 0

Use F2 to toggle window proc breakpoint

This commit is contained in:
torusrxxx 2022-03-26 20:13:37 +08:00
parent 01dba2c707
commit 0d3cc433e2
No known key found for this signature in database
GPG Key ID: A795C73A0F1CFADD
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@ HandlesView::HandlesView(QWidget* parent) : QWidget(parent)
mWindowsTable->addAction(mActionFollowProc);
mActionToggleProcBP = new QAction(DIcon("breakpoint_toggle.png"), tr("Toggle Breakpoint in Proc"), this);
connect(mActionToggleProcBP, SIGNAL(triggered()), this, SLOT(toggleBPSlot()));
mWindowsTable->addAction(mActionToggleProcBP);
mActionMessageProcBP = new QAction(DIcon("breakpoint_execute.png"), tr("Message Breakpoint"), this);
connect(mActionMessageProcBP, SIGNAL(triggered()), this, SLOT(messagesBPSlot()));
@ -169,6 +170,7 @@ void HandlesView::reloadData()
void HandlesView::refreshShortcuts()
{
mActionRefresh->setShortcut(ConfigShortcut("ActionRefresh"));
mActionToggleProcBP->setShortcut(ConfigShortcut("ActionToggleBreakpoint"));
}
void HandlesView::dbgStateChanged(DBGSTATE state)