diff --git a/lldb/test/python_api/sbdata/TestSBData.py b/lldb/test/python_api/sbdata/TestSBData.py index e9856d7b85e3..2469d8f7a4bb 100644 --- a/lldb/test/python_api/sbdata/TestSBData.py +++ b/lldb/test/python_api/sbdata/TestSBData.py @@ -53,7 +53,8 @@ class SBDataAPICase(TestBase): 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():