[Lldb-commits] [lldb] r140439 - /lldb/trunk/test/python_api/default-constructor/sb_frame.py

Johnny Chen johnny.chen at apple.com
Fri Sep 23 18:02:22 PDT 2011


Author: johnny
Date: Fri Sep 23 20:02:22 2011
New Revision: 140439

URL: http://llvm.org/viewvc/llvm-project?rev=140439&view=rev
Log:
Add FindValue() and WatchValue() fuzz calls to the mix.

Modified:
    lldb/trunk/test/python_api/default-constructor/sb_frame.py

Modified: lldb/trunk/test/python_api/default-constructor/sb_frame.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/default-constructor/sb_frame.py?rev=140439&r1=140438&r2=140439&view=diff
==============================================================================
--- lldb/trunk/test/python_api/default-constructor/sb_frame.py (original)
+++ lldb/trunk/test/python_api/default-constructor/sb_frame.py Fri Sep 23 20:02:22 2011
@@ -31,5 +31,8 @@
     obj.GetRegisters()
     obj.FindVariable("my_var")
     obj.FindVariable("my_var", lldb.eDynamicCanRunTarget)
+    obj.FindValue("your_var", lldb.eValueTypeVariableGlobal)
+    obj.FindValue("your_var", lldb.eValueTypeVariableStatic, lldb.eDynamicCanRunTarget)
+    obj.WatchValue("global_var", lldb.eValueTypeVariableGlobal, lldb.LLDB_WATCH_TYPE_READ)
     obj.GetDescription(lldb.SBStream())
     obj.Clear()





More information about the lldb-commits mailing list