[lldb-dev] [Bug 25070] SBThread::ReturnFromFrame does not work
via lldb-dev
lldb-dev at lists.llvm.org
Tue Oct 6 10:20:15 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25070
Jim Ingham <jingham at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jingham at apple.com
Resolution|--- |INVALID
--- Comment #1 from Jim Ingham <jingham at apple.com> ---
ReturnFromFrame doesn't capture the return value from a given frame, rather it
FORCES a return from that frame without executing the rest of the code in the
frame, and optionally artificially sets the return value to the value passed
in. So provided this actually did force a return from the current stack frame,
then it is behaving as designed.
If you want to capture the return value after executing the code from the
frame, then call SBThread::StepOut, and then check
SBThread::GetStopReturnValue.
I'll add some python autodoc to ReturnFromFrame to make clear what it does.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20151006/3cefc0ea/attachment.html>
More information about the lldb-dev
mailing list