mailr14554 - /1.3/gui/interpreter.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on September 01, 2011 - 11:09:
Author: bugman
Date: Thu Sep  1 11:09:18 2011
New Revision: 14554

URL: http://svn.gna.org/viewcvs/relax?rev=14554&view=rev
Log:
Added some debugging print outs for the GUI interpreter object.


Modified:
    1.3/gui/interpreter.py

Modified: 1.3/gui/interpreter.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/interpreter.py?rev=14554&r1=14553&r2=14554&view=diff
==============================================================================
--- 1.3/gui/interpreter.py (original)
+++ 1.3/gui/interpreter.py Thu Sep  1 11:09:18 2011
@@ -108,6 +108,10 @@
         @type kwds:     any keyword arguments
         """
 
+        # Debugging.
+        if status.debug:
+            sys.stdout.write("debug> GUI interpreter:  Applying the %s user 
function for synchronous execution.\n" % uf)
+
         # Get the user function.
         fn = self._get_uf(uf)
 
@@ -144,8 +148,16 @@
         This is a wrapper method for the interpreter thread.
         """
 
+        # Debugging.
+        if status.debug:
+            sys.stdout.write("debug> GUI interpreter:  Flushing.\n")
+
         # Call the thread's method.
         self._interpreter_thread.flush()
+
+        # Debugging.
+        if status.debug:
+            sys.stdout.write("debug> GUI interpreter:  Flushed.\n")
 
 
     def join(self):
@@ -168,6 +180,10 @@
         @type kwds:     any keyword arguments
         """
 
+        # Debugging.
+        if status.debug:
+            sys.stdout.write("debug> GUI interpreter:  Queuing the %s user 
function for asynchronous execution.\n" % uf)
+
         # Get the user function.
         fn = self._get_uf(uf)
 




Related Messages


Powered by MHonArc, Updated Thu Sep 01 11:20:01 2011