Changeset View
Changeset View
Standalone View
Standalone View
debugger/interfaces/ibreakpointcontroller.cpp
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | 90 | case Breakpoint::AccessBreakpoint: | |||
---|---|---|---|---|---|
91 | ev = new KNotification(QStringLiteral("WatchpointHit"), ICore::self()->uiController()->activeMainWindow()); | 91 | ev = new KNotification(QStringLiteral("WatchpointHit"), ICore::self()->uiController()->activeMainWindow()); | ||
92 | ev->setText(i18n("Watchpoint hit: %1", breakpoint->location()) + msg); | 92 | ev->setText(i18n("Watchpoint hit: %1", breakpoint->location()) + msg); | ||
93 | break; | 93 | break; | ||
94 | default: | 94 | default: | ||
95 | Q_ASSERT(0); | 95 | Q_ASSERT(0); | ||
96 | break; | 96 | break; | ||
97 | } | 97 | } | ||
98 | if (ev) { | 98 | if (ev) { | ||
99 | ev->setPixmap(QIcon::fromTheme(QStringLiteral("script-error")).pixmap(QSize(22,22))); | 99 | ev->setPixmap(QIcon::fromTheme(QStringLiteral("breakpoint")).pixmap(QSize(22,22))); | ||
100 | // TODO: Port | 100 | // TODO: Port | ||
101 | //ev->setComponentName(ICore::self()->aboutData().componentName()); | 101 | //ev->setComponentName(ICore::self()->aboutData().componentName()); | ||
102 | ev->sendEvent(); | 102 | ev->sendEvent(); | ||
103 | } | 103 | } | ||
104 | } | 104 | } | ||
105 | 105 | | |||
106 | // Temporary: empty default implementation | 106 | // Temporary: empty default implementation | ||
107 | void IBreakpointController::breakpointAdded(int row) | 107 | void IBreakpointController::breakpointAdded(int row) | ||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |