Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lldb_commands/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ def search(debugger, command, exe_ctx, result, internal_dict):
Examples:

# Find all UIViews and subclasses of UIViews
find UIView
search UIView

# Find all UIStatusBar instances
find UIStatusBar
search UIStatusBar

# Find all UIViews, ignore subclasses
find UIView -e
search UIView -e

# Find all instances of UIViews (and subclasses) where tag == 5
find UIView -c "[obj tag] == 5"
search UIView -c "[obj tag] == 5"
'''

if not ds.isProcStopped():
Expand All @@ -81,7 +81,7 @@ def search(debugger, command, exe_ctx, result, internal_dict):
return

if not args:
result.SetError('Usage: find NSObjectSubclass\n\nUse \'help find\' for more details')
result.SetError('Usage: search NSObjectSubclass\n\nUse \'help search\' for more details')
return

clean_command = ('').join(args)
Expand Down