History log of /external/lldb/test/python_api/watchpoint/main.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ad0134d454ddeaed6b9d2ba9b46995bdac336ab3 24-Sep-2011 Johnny Chen <johnny.chen@apple.com> Fix comment.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/watchpoint/main.c
4c24b0a9f72c09d2e442ab9dbbf270b6e930f1e8 24-Sep-2011 Johnny Chen <johnny.chen@apple.com> Add an SB API SBFrame::WatchValue() and exported to the Python interface to
set a watchpoint Pythonically. If the find-and-watch-a-variable operation
fails, an invalid SBValue is returned, instead.

Example Python usage:

value = frame0.WatchValue('global',
lldb.eValueTypeVariableGlobal,
lldb.LLDB_WATCH_TYPE_READ|lldb.LLDB_WATCH_TYPE_WRITE)

Add TestSetWatchpoint.py to exercise this API.
We have 400 test cases now.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/watchpoint/main.c