Slightly improve logging in LLGS tests
authorPavel Labath <labath@google.com>
Tue, 1 Mar 2016 14:04:41 +0000 (14:04 +0000)
committerPavel Labath <labath@google.com>
Tue, 1 Mar 2016 14:04:41 +0000 (14:04 +0000)
we're sometimes getting an exception here, and I want to see why...

llvm-svn: 262333

lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py

index 795a8c6..f6430b5 100644 (file)
@@ -173,7 +173,7 @@ class SocketPacketPump(object):
                     # Likely a closed socket.  Done with the pump thread.
                     if self._logger:
                         self._logger.debug(
-                            "socket read failed, stopping pump read thread")
+                            "socket read failed, stopping pump read thread\n" + traceback.format_exc(3))
                     break
                 self._process_new_bytes(new_bytes)