Closed
Bug 959480
Opened 10 years ago
Closed 10 years ago
add lldb summaries for nsTArray and nsAutoTArray
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: heycam, Assigned: heycam)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
2.15 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8359606 -
Flags: review?(ehsan)
Comment 1•10 years ago
|
||
Comment on attachment 8359606 [details] [diff] [review] patch Review of attachment 8359606 [details] [diff] [review]: ----------------------------------------------------------------- I assume this handles empty arrays as well? ::: python/lldbutils/lldbutils/general.py @@ +36,5 @@ > def init(debugger): > debugger.HandleCommand("type summary add nsAString_internal -F lldbutils.general.summarize_string") > debugger.HandleCommand("type summary add nsACString_internal -F lldbutils.general.summarize_string") > + debugger.HandleCommand("type synthetic add -x \"nsTArray<\" -l lldbutils.general.TArraySyntheticChildrenProvider") > + debugger.HandleCommand("type synthetic add -x \"nsAutoTArray<\" -l lldbutils.general.TArraySyntheticChildrenProvider") Please handle FallibleTArray as well.
Attachment #8359606 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to :Ehsan Akhgari (needinfo? me!) from comment #1) > I assume this handles empty arrays as well? Yeah they get shown as "{}" when printed.
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/def1c895cd80
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/def1c895cd80
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•10 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•