diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-09-24 00:50:33 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-09-24 00:50:33 +0000 |
commit | 6027c94d2f7f31917226e0eaa544d22cdf90a713 (patch) | |
tree | fca2d082140d8cdc921ff665ceb30869d2ed7334 /lldb/scripts/Python/interface/SBModule.i | |
parent | 52da28be500e95fd0c7c2e85fb54a727df184550 (diff) | |
download | bcm5719-llvm-6027c94d2f7f31917226e0eaa544d22cdf90a713.tar.gz bcm5719-llvm-6027c94d2f7f31917226e0eaa544d22cdf90a713.zip |
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.
llvm-svn: 140436
Diffstat (limited to 'lldb/scripts/Python/interface/SBModule.i')
0 files changed, 0 insertions, 0 deletions