KiCad PCB EDA Suite
trace_helpers.h
Go to the documentation of this file.
1 /*
2  * This program source code file is part of KiCad, a free EDA CAD application.
3  *
4  * Copyright (C) 2018 Wayne Stambaugh <stambaughw@gmail.com>
5  * Copyright (C) 2018 KiCad Developers, see change_log.txt for contributors.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, you may find one here:
19  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20  * or you may search the http://www.gnu.org website for the version 2 license,
21  * or you may write to the Free Software Foundation, Inc.,
22  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23  */
24 
30 #ifndef _TRACE_HELPERS_H_
31 #define _TRACE_HELPERS_H_
32 
33 #include <wx/arrstr.h>
34 #include <wx/event.h>
35 #include <wx/string.h>
36 
47 
55 extern const wxChar* const traceFindItem;
56 
62 extern const wxChar* const traceFindReplace;
63 
69 extern const wxChar* const kicadTraceCoords;
70 
76 extern const wxChar* const kicadTraceKeyEvent;
77 
83 extern const wxChar* const traceAutoSave;
84 
90 extern const wxChar* const traceSchLibMem;
91 
97 extern const wxChar* const traceSchLegacyPlugin;
98 
104 extern const wxChar* const traceKicadPcbPlugin;
105 
111 extern const wxChar* const traceGedaPcbPlugin;
112 
118 extern const wxChar* const tracePrinting;
119 
125 extern const wxChar* const tracePathsAndFiles;
126 
132 extern const wxChar* const traceLocale;
133 
139 extern const wxChar* const traceScreen;
140 
147 extern const wxChar* const traceZoomScroll;
148 
150 
157 extern wxString dump( const wxKeyEvent& aEvent );
158 
165 extern wxString dump( const wxArrayString& aArray );
166 
167 #endif // _TRACE_HELPERS_H_
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 traceAutoSave
Flag to enable auto save feature debug tracing.
const wxChar *const traceGedaPcbPlugin
Flag to enable GEDA PCB plugin debug output.
const wxChar *const traceScreen
Flag to enable debug output of BASE_SCREEN and it&#39;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.
wxString dump(const wxKeyEvent &aEvent)
Debug helper for printing wxKeyEvent information.
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 traceSchLibMem
Flag to enable schematic library memory deletion debug output.
const wxChar *const traceFindItem
Flag to enable find debug tracing.
const wxChar *const kicadTraceKeyEvent
Flag to enable wxKeyEvent debug tracing.
const wxChar *const kicadTraceCoords
Flag to enable draw panel coordinate debug tracing.