• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1REQUIRES: python
2RUN: mkdir -p %t
3RUN: %build %p/Inputs/hello.cpp -o %t/target.out
4RUN: %lldb %t/target.out -s %p/Inputs/convenience.in -o quit | FileCheck %s
5
6CHECK: stop reason = breakpoint 1.1
7CHECK: script print(lldb.debugger)
8CHECK-NEXT: Debugger (instance: {{.*}}, id: {{[0-9]+}})
9CHECK: script print(lldb.target)
10CHECK-NEXT: target.out
11CHECK: script print(lldb.process)
12CHECK-NEXT: SBProcess: pid = {{[0-9]+}}, state = stopped, threads = {{[0-9]+}}, executable = target.out
13CHECK: script print(lldb.thread.GetStopDescription(100))
14CHECK-NEXT: breakpoint 1.1
15CHECK: script lldb.frame.GetLineEntry().GetLine()
16CHECK-NEXT: 8
17CHECK: script lldb.frame.GetLineEntry().GetFileSpec().GetFilename()
18CHECK-NEXT: hello.c
19CHECK: script lldb.frame.GetFunctionName()
20CHECK-NEXT: main
21