You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show source-mapped source in profiler-cli function annotate
`fetchSourceAnnotation` was always reading from
funcTable.source[funcIndex], which points at the compiled bundle. For
JS-symbolicated functions the original file already lives behind
funcTable.sourceMapInfo, and its text is typically embedded on the
shared source table either by sourcesContent during symbolication or by
the publish-with-sources path.
Resolve the effective source through getOriginalPositionForFrame so the
filename, line hit attribution, and content lookup all target the
original source when sourceMapInfo is present. When sources.content is
populated, use it directly and skip the network fetch entirely so the
source view works offline for published-with-sources profiles.
0 commit comments