Closed
Bug 1701653
Opened 5 years ago
Closed 5 years ago
add source filename to symbolication output
Categories
(Eliot :: General, enhancement, P2)
Eliot
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
References
Details
Attachments
(1 file)
Currently, symbolication with Eliot has the following output:
{
"frame": 8,
"module": "XUL",
"module_offset": "0x1081c27",
"function": "mozilla::dom::ScriptElement::MaybeProcessScript()",
"function_offset": "0x177",
"line": 117
},
One thing that's missing is the source filename.
For example, we get this output from minidump-stackwalk for Mozilla-owned frames:
{
"file": "hg:hg.mozilla.org/releases/mozilla-release:dom/quota/ActorsParent.cpp:bb9bf7e886787222b18094a4723949a29b4d329a",
"frame": 0,
"function": "static mozilla::dom::quota::QuotaManager::Shutdown::<unnamed-tag>::operator()::<unnamed-tag>::__invoke(nsITimer*, void*)",
"function_offset": "0x179",
"line": 3683,
"module": "xul.dll",
"module_offset": "0x2509179",
"offset": "0x4439179",
"trust": "context"
},
Pretty sure the file part comes from the FILE records in the sym file. I'm pretty sure that's available via symbolic.
Having that information makes it possible to display stack information with links to the sources.
We should add it to the output of the symbolication v5 api implemented in Eliot.
| Assignee | ||
Comment 1•5 years ago
|
||
I'm pretty sure this is straight-forward to add. I'll try to do it this week.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
| Assignee | ||
Comment 4•5 years ago
|
||
This is on stage now and works fine. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•3 years ago
|
Component: Symbolication → General
Product: Tecken → Eliot
You need to log in
before you can comment on or make changes to this bug.
Description
•