reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
REQUIRES: python
RUN: %build %p/Inputs/hello.cpp -o %t
RUN: %lldb %t -s %p/Inputs/convenience.in -o quit | FileCheck %s

script print(lldb.debugger)

CHECK: stop reason = breakpoint 1.1
CHECK: Debugger (instance: {{.*}}, id: {{[0-9]+}})
CHECK: script print(lldb.target)
CHECK: TestConvenienceVariables.test
CHECK: script print(lldb.process)
CHECK: SBProcess: pid = {{[0-9]+}},
CHECK-SAME:       state = stopped,
CHECK-SAME:       threads = {{[0-9]+}},
CHECK-SAME:       executable = TestConvenienceVariables.test
CHECK: script print(lldb.thread.GetStopDescription(100))
CHECK: breakpoint 1.1
CHECK: script lldb.frame.GetLineEntry().GetLine()
CHECK: 8
CHECK: script lldb.frame.GetLineEntry().GetFileSpec().GetFilename()
CHECK: hello.c
CHECK: script lldb.frame.GetFunctionName()
CHECK: main