forked from OSchip/llvm-project
Print out the frame only if self.TraceOn() is True.
llvm-svn: 149893
This commit is contained in:
parent
546ba363ea
commit
a27a16c04d
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue