llvm-project/lldb/test/Shell/ScriptInterpreter/Lua/Inputs/independent_state.in

7 lines
197 B
Plaintext

script foobar = 40 + 7
script print(foobar)
script d = lldb.SBDebugger.Create()
script d:HandleCommand("script foobar = 40 + 2")
script print(foobar)
script d:HandleCommand("script print(foobar)")