summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/frame
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/frame')
-rw-r--r--lldb/test/python_api/frame/inlines/TestInlinedFrame.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
index b6b1e6d3fb6..2ccbbc642a1 100644
--- a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
+++ b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
@@ -47,16 +47,16 @@ class InlinedFrameAPITestCase(TestBase):
self.assertTrue(process.GetState() == lldb.eStateStopped,
PROCESS_STOPPED)
- # The first breakpoint should correspond to an inlined call frame.
- frame0 = process.GetThreadAtIndex(0).GetFrameAtIndex(0)
- self.assertTrue(frame0.IsInlined() and
- frame0.GetFunctionName() == 'outer_inline')
-
self.runCmd("bt")
if self.TraceOn():
print "Full stack traces when first stopped on the breakpoint 'outer_inline':"
import lldbutil
- print lldbutil.print_stacktraces(process)
+ print lldbutil.print_stacktraces(process, string_buffer=True)
+
+ # The first breakpoint should correspond to an inlined call frame.
+ frame0 = process.GetThreadAtIndex(0).GetFrameAtIndex(0)
+ self.assertTrue(frame0.IsInlined() and
+ frame0.GetFunctionName() == 'outer_inline')
if __name__ == '__main__':
OpenPOWER on IntegriCloud