| 102 | } |
| 103 | |
| 104 | void DebugController::initializeUi() |
| 105 | { |
| 106 | if (m_uiInitialized) return; |
| 107 | m_uiInitialized = true; |
| 108 | |
| 109 | if((Core::self()->setupFlags() & Core::NoUi)) return; |
| 110 | setupActions(); |
| 111 | |
| 112 | ICore::self()->uiController()->addToolView( |
| 113 | i18nc("@title:window", "Frame Stack"), |
| 114 | new DebuggerToolWithoutToolbarFactory<FramestackWidget>(this, QStringLiteral("org.kdevelop.debugger.StackView"), |
| 115 | Qt::BottomDockWidgetArea)); |
| 116 | |
| 117 | ICore::self()->uiController()->addToolView( |
| 118 | i18nc("@title:window", "Breakpoints"), |
| 119 | new DebuggerToolWithoutToolbarFactory<BreakpointWidget>( |
| 120 | this, QStringLiteral("org.kdevelop.debugger.BreakpointsView"), Qt::BottomDockWidgetArea)); |
| 121 | |
| 122 | ICore::self()->uiController()->addToolView( |
| 123 | variablesToolViewTitle(), |
| 124 | new DebuggerToolFactory<VariableWidget>(this, QStringLiteral("org.kdevelop.debugger.VariablesView"), |
| 125 | Qt::LeftDockWidgetArea)); |
| 126 | |
| 127 | ICore::self()->uiController()->activeMainWindow()->guiFactory()->addClient(this); |
| 128 | |
| 129 | stateChanged(QStringLiteral("ended")); |
| 130 | } |
| 131 | |
| 132 | |
| 133 | void DebugController::cleanup() |
no test coverage detected