Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
e917eeac
Commit
e917eeac
authored
Jul 15, 2009
by
Friedemann Kleint
Browse files
Debugger: Alert on stop in the debugger manager.
parent
b2ec44ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggermanager.cpp
View file @
e917eeac
...
...
@@ -1236,11 +1236,12 @@ void DebuggerManager::setStatus(int status)
||
status
==
DebuggerInferiorStopRequested
||
status
==
DebuggerInferiorStopped
;
//const bool starting = status == DebuggerProcessStartingUp;
const
bool
running
=
status
==
DebuggerInferiorRunning
;
const
bool
ready
=
status
==
DebuggerInferiorStopped
&&
startMode
()
!=
AttachCore
;
if
(
ready
)
QApplication
::
alert
(
mainWindow
(),
3000
);
m_watchAction
->
setEnabled
(
ready
);
m_breakAction
->
setEnabled
(
true
);
...
...
src/plugins/debugger/gdb/gdbengine.cpp
View file @
e917eeac
...
...
@@ -62,7 +62,7 @@
#include <QtCore/QTextStream>
#include <QtGui/QAction>
#include <Qt
Gui/Q
Application>
#include <Qt
Core/QCore
Application>
#include <QtGui/QLabel>
#include <QtGui/QMainWindow>
#include <QtGui/QMessageBox>
...
...
@@ -1146,7 +1146,6 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
m_currentFrame
=
_
(
frame
.
findChild
(
"addr"
).
data
()
+
'%'
+
frame
.
findChild
(
"func"
).
data
()
+
'%'
);
QApplication
::
alert
(
q
->
mainWindow
(),
3000
);
if
(
theDebuggerAction
(
ListSourceFiles
)
->
value
().
toBool
())
reloadSourceFiles
();
postCommand
(
_
(
"-break-list"
),
CB
(
handleBreakList
));
...
...
@@ -2800,7 +2799,7 @@ void GdbEngine::setToolTipExpression(const QPoint &mousePos,
//: Variable
static
const
QString
strNotInScope
=
QApplication
::
translate
(
"Debugger::Internal::GdbEngine"
,
"<not in scope>"
);
Q
Core
Application
::
translate
(
"Debugger::Internal::GdbEngine"
,
"<not in scope>"
);
static
void
setWatchDataValue
(
WatchData
&
data
,
const
GdbMi
&
mi
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment