Author: jingham
Date: Tue Jul 8 14:27:35 2014
New Revision: 212558
URL: http://llvm.org/viewvc/llvm-project?rev=212558&view=rev
Log:
Document the "thread.completed-expression" feature in the "expression" command
help.
Modified:
lldb/trunk/source/Commands/CommandObjectExpression.cpp
Modified: lldb/trunk/source/Commands/CommandObjectExpression.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectExpression.cpp?rev=212558&r1=212557&r2=212558&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectExpression.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectExpression.cpp Tue Jul 8 14:27:35
2014
@@ -218,6 +218,15 @@ User defined variables:\n\
your user defined variable is a $, then the variable's value will be
available in future\n\
expressions, otherwise it will just be available in the current
expression.\n\
\n\
+\n\
+Continuing evaluation after a breakpoint:\n\
+ If the \"-i false\" option is used, and execution is interrupted by a
breakpoint hit, once\n\
+ you are done with your investigation, you can either remove the expression
execution frames\n\
+ from the stack with \"thread return -x\" or if you are still interested in
the expression result\n\
+ you can issue the \"continue\" command and the expression evaluation will
complete and the\n\
+ expression result will be available using the
\"thread.completed-expression\" key in the thread\n\
+ format.\n\
+\n\
Examples: \n\
\n\
expr my_struct->a = my_array[3] \n\
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits