[Lldb-commits] [lldb] r149893 - /lldb/trunk/test/python_api/sbdata/TestSBData.py

Johnny Chen johnny.chen at apple.com
Mon Feb 6 11:36:30 PST 2012


Author: johnny
Date: Mon Feb  6 13:36:29 2012
New Revision: 149893

URL: http://llvm.org/viewvc/llvm-project?rev=149893&view=rev
Log:
Print out the frame only if self.TraceOn() is True.

Modified:
    lldb/trunk/test/python_api/sbdata/TestSBData.py

Modified: lldb/trunk/test/python_api/sbdata/TestSBData.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/sbdata/TestSBData.py?rev=149893&r1=149892&r2=149893&view=diff
==============================================================================
--- lldb/trunk/test/python_api/sbdata/TestSBData.py (original)
+++ lldb/trunk/test/python_api/sbdata/TestSBData.py Mon Feb  6 13:36:29 2012
@@ -53,7 +53,8 @@
         thread = process.GetThreadAtIndex(0)
 
         frame = thread.GetSelectedFrame()
-        print frame
+        if self.TraceOn():
+            print frame
         foobar = frame.FindVariable('foobar')
         self.assertTrue(foobar.IsValid())
         if self.TraceOn():





More information about the lldb-commits mailing list