File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 35
35
#include < QGridLayout>
36
36
#include < QRadioButton>
37
37
#include < QInputDialog>
38
+ #include < QMessageBox>
38
39
#include < QMenuBar>
39
40
#include < QMenu>
40
41
#include < QAction>
@@ -1816,8 +1817,19 @@ void ConsoleDebugger::debugStepOutCB(void)
1816
1817
setRegsFromEntry ();
1817
1818
if (dbgstate.stepout )
1818
1819
{
1819
- printf (" Step Out is currently in process.\n " );
1820
- return ;
1820
+ int ret;
1821
+ QMessageBox msgBox (QMessageBox::Question, tr (" Step Out Already Active" ),
1822
+ tr (" Step Out is currently in process. Cancel it and setup a new Step Out watch?" ),
1823
+ QMessageBox::No | QMessageBox::Yes, this );
1824
+
1825
+ ret = msgBox.exec ();
1826
+
1827
+ if ( ret != QMessageBox::Yes )
1828
+ {
1829
+ // printf("Step out cancelled\n");
1830
+ return ;
1831
+ }
1832
+ // printf("Step out reset\n");
1821
1833
}
1822
1834
if (GetMem (X.PC ) == 0x20 )
1823
1835
{
You can’t perform that action at this time.
0 commit comments