mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
Restart debug with previous breakpoint mode.
This commit is contained in:
+11
-1
@@ -510,7 +510,17 @@ void SeerMainWindow::handleRunExecutable () {
|
||||
}
|
||||
|
||||
void SeerMainWindow::handleStartExecutable () {
|
||||
gdbWidget->handleGdbRunExecutable("inmain");
|
||||
|
||||
QString breakfunction = gdbWidget->executableBreakpointFunctionName();
|
||||
|
||||
// No break function, attempt to stop in "main".
|
||||
if (breakfunction == "") {
|
||||
gdbWidget->handleGdbRunExecutable("inmain");
|
||||
|
||||
// Otherwise, attempt to stop in the function.
|
||||
}else{
|
||||
gdbWidget->handleGdbRunExecutable("infunction");
|
||||
}
|
||||
}
|
||||
|
||||
void SeerMainWindow::handleStyleMenuChanged () {
|
||||
|
||||
Reference in New Issue
Block a user