forked from qt-creator/qt-creator
Debugger: Use actions in different contexts
... for F10-as-in-Start-and-break-at-main and F10-as-in-step-over. Change-Id: Ie8e9e9be389a09a1485cadeea8b2d035a130920a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -2293,24 +2293,14 @@ void DebuggerEngine::handleReset()
|
||||
|
||||
void DebuggerEngine::handleExecStepIn()
|
||||
{
|
||||
if (state() == DebuggerNotReady) {
|
||||
DebuggerRunTool::setBreakOnMainNextTime();
|
||||
ProjectExplorerPlugin::runStartupProject(ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
} else {
|
||||
resetLocation();
|
||||
executeStepIn(operatesByInstruction());
|
||||
}
|
||||
resetLocation();
|
||||
executeStepIn(operatesByInstruction());
|
||||
}
|
||||
|
||||
void DebuggerEngine::handleExecStepOver()
|
||||
{
|
||||
if (state() == DebuggerNotReady) {
|
||||
DebuggerRunTool::setBreakOnMainNextTime();
|
||||
ProjectExplorerPlugin::runStartupProject(ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
} else {
|
||||
resetLocation();
|
||||
executeStepOver(operatesByInstruction());
|
||||
}
|
||||
resetLocation();
|
||||
executeStepOver(operatesByInstruction());
|
||||
}
|
||||
|
||||
void DebuggerEngine::handleExecStepOut()
|
||||
|
||||
Reference in New Issue
Block a user