Bug 189062 - lldb-webkit: KeyError thrown for OptionSet
Summary: lldb-webkit: KeyError thrown for OptionSet
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-28 15:21 PDT by Daniel Bates
Modified: 2018-08-28 16:05 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.51 KB, patch)
2018-08-28 15:29 PDT, Daniel Bates
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>