commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r7032 - trunk/gnue-common/src/apps


From: reinhard
Subject: [gnue] r7032 - trunk/gnue-common/src/apps
Date: Tue, 15 Feb 2005 17:08:21 -0600 (CST)

Author: reinhard
Date: 2005-02-15 17:08:20 -0600 (Tue, 15 Feb 2005)
New Revision: 7032

Modified:
   trunk/gnue-common/src/apps/GDebug.py
Log:
Better debug messages for gBeginFunc and gEndFunc.


Modified: trunk/gnue-common/src/apps/GDebug.py
===================================================================
--- trunk/gnue-common/src/apps/GDebug.py        2005-02-15 15:51:00 UTC (rev 
7031)
+++ trunk/gnue-common/src/apps/GDebug.py        2005-02-15 23:08:20 UTC (rev 
7032)
@@ -201,7 +201,8 @@
       params.extend (["%s = %s" % (repr (k), repr (v)) \
                       for (k, v) in flocals [vkw].items ()])
 
-    message  = "%s (%s)" % (funcName, string.join (params, ", "))
+    message  = "Entering function %s (%s)" % (funcName,
+                                              string.join (params, ", "))
 
     path = frame.f_code.co_filename
     if path [-3:] == '.py':
@@ -255,7 +256,8 @@
     # Override the output-flag if there's a result value given.
     pr = hasResult or result is not None
 
-    message = "%s (%s)%s" % (fName, hId, pr and ' == %s' % repr (result) or '')
+    message = "Leaving function %s (%s)%s" % (fName, hId,
+                                         pr and ' == %s' % repr (result) or '')
 
     path = frame.f_code.co_filename
     if path [-3:] == '.py':





reply via email to

[Prev in Thread] Current Thread [Next in Thread]