DebugClients/Python/DebugBase.py

changeset 4293
125a75cfd249
parent 4080
d4ba5fab5557
child 4309
cc9c62f55413
--- a/DebugClients/Python/DebugBase.py	Thu Jun 25 18:50:11 2015 +0200
+++ b/DebugClients/Python/DebugBase.py	Thu Jun 25 18:58:34 2015 +0200
@@ -551,8 +551,11 @@
             
                 if ffunc and not ffunc.startswith("<"):
                     argInfo = inspect.getargvalues(fr)
-                    fargs = inspect.formatargvalues(argInfo[0], argInfo[1],
-                                                    argInfo[2], argInfo[3])
+                    try:
+                        fargs = inspect.formatargvalues(argInfo[0], argInfo[1],
+                                                        argInfo[2], argInfo[3])
+                    except Exception:
+                        fargs = ""
                 else:
                     fargs = ""
                 
@@ -609,8 +612,11 @@
                 
                 if ffunc and not ffunc.startswith("<"):
                     argInfo = inspect.getargvalues(fr)
-                    fargs = inspect.formatargvalues(argInfo[0], argInfo[1],
-                                                    argInfo[2], argInfo[3])
+                    try:
+                        fargs = inspect.formatargvalues(argInfo[0], argInfo[1],
+                                                        argInfo[2], argInfo[3])
+                    except Exception:
+                        fargs = ""
                 else:
                     fargs = ""
                 
@@ -709,8 +715,11 @@
                 
                 if ffunc and not ffunc.startswith("<"):
                     argInfo = inspect.getargvalues(fr)
-                    fargs = inspect.formatargvalues(argInfo[0], argInfo[1],
-                                                    argInfo[2], argInfo[3])
+                    try:
+                        fargs = inspect.formatargvalues(argInfo[0], argInfo[1],
+                                                        argInfo[2], argInfo[3])
+                    except Exception:
+                        fargs = ""
                 else:
                     fargs = ""
                 

eric ide

mercurial