DebugClients/Python/DebugBase.py

branch
6_0_x
changeset 4294
bb90605f9382
parent 4210
bcaacd4ec02b
child 4309
cc9c62f55413
--- a/DebugClients/Python/DebugBase.py	Sun Jun 21 21:07:47 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