Bug 189062

Summary: lldb-webkit: KeyError thrown for OptionSet
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Tools / TestsAssignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: lforschler, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Daniel Bates 2018-08-28 15:21:05 PDT
When debugging in lldb I sometimes see exceptions of the form:

[[
Traceback (most recent call last):
  File "/Volumes/Data/.../Tools/lldb/lldb_webkit.py", line 587, in __init__
    self.update()
  File "/Volumes/Data/.../Tools/lldb/lldb_webkit.py", line 625, in update
    elements.append((enumerator_value_to_name_map[current], current))  # e.g. ('Spelling', 4)
KeyError: 1
]]
Comment 1 Daniel Bates 2018-08-28 15:29:36 PDT
Created attachment 348352 [details]
Patch
Comment 2 Daniel Bates 2018-08-28 16:04:35 PDT
Comment on attachment 348352 [details]
Patch

Clearing flags on attachment: 348352

Committed r235445: <https://trac.webkit.org/changeset/235445>
Comment 3 Daniel Bates 2018-08-28 16:04:36 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2018-08-28 16:05:18 PDT
<rdar://problem/43818865>