aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/debugger/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/debugger/utils.py')
-rw-r--r--share/qtcreator/debugger/utils.py22
1 files changed, 21 insertions, 1 deletions
diff --git a/share/qtcreator/debugger/utils.py b/share/qtcreator/debugger/utils.py
index feec4379cd..e1335add66 100644
--- a/share/qtcreator/debugger/utils.py
+++ b/share/qtcreator/debugger/utils.py
@@ -86,7 +86,7 @@ class BreakpointType():
) = range(0, 14)
-# Internal codes for types keep in sync with cdbextensions pytype.cpp
+# Internal codes for types. Keep in sync with cdbextensions pytype.cpp
class TypeCode():
(
Typedef,
@@ -108,6 +108,26 @@ class TypeCode():
) = range(0, 16)
+# Internal codes for logging channels. Keep in sync woth debuggerconstants.h
+class LogChannel():
+ (
+ LogInput, # Used for user input
+ LogMiscInput, # Used for misc stuff in the input pane
+ LogOutput,
+ LogWarning,
+ LogError,
+ LogStatus, # Used for status changed messages
+ LogTime, # Used for time stamp messages
+ LogDebug,
+ LogMisc,
+ AppOutput, # stdout
+ AppError, # stderr
+ AppStuff, # (possibly) windows debug channel
+ StatusBar, # LogStatus and also put to the status bar
+ ConsoleOutput # Used to output to console
+ ) = range(0, 14)
+
+
def isIntegralTypeName(name):
return name in (
"int",