https://llvm.org/bugs/show_bug.cgi?id=25070
Jakub Beránek <beryku...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #3 from Jakub Beránek <beryku...@gmail.com> --- I tried to use StepOut, but it also doesn't seem to work. import lldb import os import time debugger = lldb.SBDebugger.Create() target = debugger.CreateTarget("./test") target.BreakpointCreateByLocation("test.cpp", 3) process = target.LaunchSimple([], [], os.getcwd()) time.sleep(2) # wait for bp to be hit thread = process.GetSelectedThread() thread.StepOut() value = thread.GetStopReturnValue() # No value When I print the thread (print(thread)), it shows the stop reason and value: "stop reason = step out\nReturn value: (int) $0 = 11", but I can't get the value from the thread directly (both return_value and GetStopReturnValue() return No value). And after the step out, the frames from the thread disappear (before step out, the thread had 6 stack frames, after step out, all of them disappeared). -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev