Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
c3ff7fa7
Commit
c3ff7fa7
authored
Jan 25, 2011
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: switch do fkleint's style of debug output enabling
parent
1160c3e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
25 deletions
+14
-25
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.cpp
+3
-8
src/plugins/debugger/script/scriptengine.cpp
src/plugins/debugger/script/scriptengine.cpp
+5
-8
src/plugins/debugger/watchhandler.cpp
src/plugins/debugger/watchhandler.cpp
+6
-9
No files found.
src/plugins/debugger/gdb/gdbengine.cpp
View file @
c3ff7fa7
...
...
@@ -105,16 +105,11 @@
namespace
Debugger
{
namespace
Internal
{
//#define DEBUG_PENDING 1
static
const
char
winPythonVersionC
[]
=
"python2.5"
;
#if DEBUG_PENDING
# define PENDING_DEBUG(s) qDebug() << s
#else
# define PENDING_DEBUG(s)
#endif
#define PENDING_DEBUGX(s) qDebug() << s
enum
{
debugPending
=
0
};
#define PENDING_DEBUG(s) do { if (debugPending) qDebug() << s; } while (0)
#define CB(callback) &GdbEngine::callback, STRINGIFY(callback)
...
...
src/plugins/debugger/script/scriptengine.cpp
View file @
c3ff7fa7
...
...
@@ -72,18 +72,15 @@
#include <QtScript/QScriptValue>
#include <QtScript/QScriptValueIterator>
//#define DEBUG_SCRIPT 1
#if DEBUG_SCRIPT
# define SDEBUG(s) qDebug() << s
#else
# define SDEBUG(s)
#endif
# define XSDEBUG(s) qDebug() << s
namespace
Debugger
{
namespace
Internal
{
enum
{
debugScript
=
0
};
#define SDEBUG(s) do { if (debugScript) qDebug() << s; } while (0)
#define XSDEBUG(s) qDebug() << s
///////////////////////////////////////////////////////////////////////
//
// ScriptEngine
...
...
src/plugins/debugger/watchhandler.cpp
View file @
c3ff7fa7
...
...
@@ -61,19 +61,16 @@
#include <ctype.h>
#include <utils/qtcassert.h>
// Creates debug output for accesses to the model.
//#define DEBUG_MODEL 1
#if DEBUG_MODEL
# define MODEL_DEBUG(s) qDebug() << s
#else
# define MODEL_DEBUG(s)
#endif
#define MODEL_DEBUGX(s) qDebug() << s
namespace
Debugger
{
namespace
Internal
{
// Creates debug output for accesses to the model.
enum
{
debugModel
=
0
};
#define MODEL_DEBUG(s) do { if (debugModel) qDebug() << s; } while (0)
#define MODEL_DEBUGX(s) qDebug() << s
static
const
QString
strNotInScope
=
QCoreApplication
::
translate
(
"Debugger::Internal::WatchData"
,
"<not in scope>"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment