As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
Manager* pm = Manager::Get(); pm->RegisterEventSink(cbEVT_DEBUGGER_STARTED, new cbEventFunctor<myplugin, CodeBlocksEvent>(this, &myplugin::testevents)); pm->RegisterEventSink(cbEVT_DEBUGGER_PAUSED, new cbEventFunctor<myplugin, CodeBlocksEvent>(this, &myplugin::testevents)); pm->RegisterEventSink(cbEVT_DEBUGGER_FINISHED, new cbEventFunctor<myplugin, CodeBlocksEvent>(this, &myplugin::testevents));...void myplugin::testevents(CodeBlocksEvent &event){ Manager::Get()->GetLogManager()->DebugLog(_("text")); wxMessageBox(_T("text"), _T("Warning"), wxOK);}