Changeset View
Changeset View
Standalone View
Standalone View
shell/debugcontroller.cpp
Show First 20 Lines • Show All 272 Lines • ▼ Show 20 Line(s) | 196 | { | |||
---|---|---|---|---|---|
273 | action->setWhatsThis( i18n("Executes the application until the currently executing " | 273 | action->setWhatsThis( i18n("Executes the application until the currently executing " | ||
274 | "function is completed. The debugger will then display " | 274 | "function is completed. The debugger will then display " | ||
275 | "the line after the original call to that function. If " | 275 | "the line after the original call to that function. If " | ||
276 | "program execution is in the outermost frame (i.e. in " | 276 | "program execution is in the outermost frame (i.e. in " | ||
277 | "main()) then this operation has no effect.") ); | 277 | "main()) then this operation has no effect.") ); | ||
278 | connect(action, &QAction::triggered, this, &DebugController::stepOut); | 278 | connect(action, &QAction::triggered, this, &DebugController::stepOut); | ||
279 | ac->addAction(QStringLiteral("debug_stepout"), action); | 279 | ac->addAction(QStringLiteral("debug_stepout"), action); | ||
280 | 280 | | |||
281 | m_toggleBreakpoint = action = new QAction(QIcon::fromTheme(QStringLiteral("script-error")), i18n("Toggle Breakpoint"), this); | 281 | m_toggleBreakpoint = action = new QAction(QIcon::fromTheme(QStringLiteral("breakpoint")), i18n("Toggle Breakpoint"), this); | ||
282 | ac->setDefaultShortcut( action, i18n("Ctrl+Alt+B") ); | 282 | ac->setDefaultShortcut( action, i18n("Ctrl+Alt+B") ); | ||
283 | action->setToolTip(i18n("Toggle breakpoint")); | 283 | action->setToolTip(i18n("Toggle breakpoint")); | ||
284 | action->setWhatsThis(i18n("Toggles the breakpoint at the current line in editor.")); | 284 | action->setWhatsThis(i18n("Toggles the breakpoint at the current line in editor.")); | ||
285 | connect(action, &QAction::triggered, this, &DebugController::toggleBreakpoint); | 285 | connect(action, &QAction::triggered, this, &DebugController::toggleBreakpoint); | ||
286 | ac->addAction(QStringLiteral("debug_toggle_breakpoint"), action); | 286 | ac->addAction(QStringLiteral("debug_toggle_breakpoint"), action); | ||
287 | } | 287 | } | ||
288 | 288 | | |||
289 | void DebugController::addSession(IDebugSession* session) | 289 | void DebugController::addSession(IDebugSession* session) | ||
▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines |