forked from qt-creator/qt-creator
Debugger: Handle core shutdown, prompt user to terminate debugging.
Add a corelistener and trigger on shutdown. Notify about critical states. Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
@@ -180,7 +180,7 @@ using namespace Debugger::Internal;
|
||||
|
||||
static const QString tooltipIName = "tooltip";
|
||||
|
||||
static const char *stateName(int s)
|
||||
const char *DebuggerManager::stateName(int s)
|
||||
{
|
||||
#define SN(x) case x: return #x;
|
||||
switch (s) {
|
||||
@@ -1766,7 +1766,7 @@ void DebuggerManager::ensureLogVisible()
|
||||
|
||||
QDebug operator<<(QDebug d, DebuggerState state)
|
||||
{
|
||||
return d << stateName(state) << '(' << int(state) << ')';
|
||||
return d << DebuggerManager::stateName(state) << '(' << int(state) << ')';
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user