DebuggerInterfacePython: added a logging statement to see, what is sent by the debug backend. Activate it with '--debug'.

Mon, 05 Nov 2018 19:52:51 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 05 Nov 2018 19:52:51 +0100
changeset 6584
33ea6f430eb8
parent 6583
40ace3a73139
child 6585
d0c4e2734814

DebuggerInterfacePython: added a logging statement to see, what is sent by the debug backend. Activate it with '--debug'.

Debugger/DebuggerInterfacePython.py file | annotate | diff | comparison | revisions
--- a/Debugger/DebuggerInterfacePython.py	Sun Nov 04 18:35:18 2018 +0100
+++ b/Debugger/DebuggerInterfacePython.py	Mon Nov 05 19:52:51 2018 +0100
@@ -11,6 +11,7 @@
 
 import sys
 import os
+import logging
 
 from PyQt5.QtCore import QObject, QTextCodec, QProcess, QProcessEnvironment, \
     QTimer
@@ -949,6 +950,7 @@
             else:
                 line = bytes(qs).decode()
             
+            logging.debug("<Debug-Server> %s", line)
 ##            print("Server: ", line)          ##debug
             
             self.__handleJsonCommand(line)

eric ide

mercurial