30 #ifndef _TRACE_HELPERS_H_ 31 #define _TRACE_HELPERS_H_ 33 #include <wx/arrstr.h> 35 #include <wx/string.h> 209 extern wxString
dump(
const wxKeyEvent& aEvent );
217 extern wxString
dump(
const wxArrayString& aArray );
233 void DoTrace( const wxString aWhat, const wxChar*
aFmt, ... )
241 #if wxUSE_UNICODE_UTF8 242 void DoTraceUtf8(
const wxString aWhat,
const wxChar*
aFmt, ... )
252 void traceV(
const wxString& aWhat,
const wxString&
aFmt, va_list vargs );
260 #define KI_TRACE( ... ) TRACE_MANAGER::Instance().Trace( __VA_ARGS__ ) 262 #endif // _TRACE_HELPERS_H_ const wxChar *const traceSchSheetPaths
Flag to enable debug output of schematic symbol sheet path manipulation code.
const wxChar *const traceZoomScroll
Flag to enable debug output of zoom-scrolling calculations in KIGFX::ZOOM_CONTROLLER and derivatives.
const wxChar *const traceFindReplace
Flag to enable find and replace debug tracing.
const wxChar *const traceSymbolResolver
Flag to enable debug output of symbol library resolver results.
bool m_globalTraceEnabled
const wxChar *const traceAutoSave
Flag to enable auto save feature debug tracing.
const wxChar *const traceGedaPcbPlugin
Flag to enable GEDA PCB plugin debug output.
traceV(aWhat, aFmt, argptr)
const wxChar *const traceScreen
Flag to enable debug output of BASE_SCREEN and it's derivatives.
const wxChar *const tracePrinting
Flag to enable print controller debug output.
const wxChar *const traceSchLegacyPlugin
Flag to enable legacy schematic plugin debug output.
const wxChar *const tracePathsAndFiles
Flag to enable path and file name debug output.
const wxChar *const traceDisplayLocation
Flag to enable debug output of display positioning logic.
const wxChar *const traceGalProfile
Flag to enable debug output of GAL performance profiling.
const wxChar va_start(argptr, aFmt)
wxString dump(const wxKeyEvent &aEvent)
Debug helper for printing wxKeyEvent information.
WX_DEFINE_VARARG_FUNC_VOID(Trace, 2,(const wxString, const wxFormatString &), DoTrace, DoTraceUtf8) void DoTrace(const wxString aWhat
std::map< wxString, bool > m_enabledTraces
const wxChar *const traceKicadPcbPlugin
Flag to enable GEDA PCB plugin debug output.
const wxChar *const traceLocale
Flag to enable locale debug output.
const wxChar *const traceEnvVars
Flag to enable debug output of environment variable operations.
const wxChar *const traceSchLibMem
Flag to enable schematic library memory deletion debug output.
static TRACE_MANAGER & Instance()
const wxChar *const kicadTraceCoroutineStack
Flag to enable tracing of the coroutine call stack.
const wxChar *const traceFindItem
Flag to enable find debug tracing.
const wxChar *const kicadTraceKeyEvent
Flag to enable wxKeyEvent debug tracing.
const wxChar *const kicadTraceToolStack
Flag to enable tracing of the tool handling stack.
const wxChar *const kicadTraceCoords
Flag to enable draw panel coordinate debug tracing.