Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

All plugin debug log write have disappeared.

(1/1)

Pecan:
When debugging a plugin, I like to wirte to a log as follows:


--- Code: ---    wxWindow* pcbWindow = Manager::Get()->GetAppWindow();
    m_pMS_Window = pcbWindow;
    #if LOGGING
        /*wxLogWindow**/ pMyLog = new wxLogWindow(pcbWindow, wxT("DragScroll"), true, false);
        wxLog::SetActiveTarget(pMyLog);
        pMyLog->Flush();
        pMyLog->GetFrame()->Move(20,20);
        wxLogMessage(_T("Logging cbDragScroll version %s"),wxString(wxT(VERSION)).c_str());
#endif

--- End code ---

All of  sudden, no writes to the logs work.

How can I re-instate my debugging log?

Navigation

[0] Message Index

Go to full version