firefox-devtools / firefox-devtools/profiler

Allow opening the source view from marker stacks displayed in the sidebar

Open
#4,000 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

One nice thing about the profiler is that it allows you to learn about code that you've never seen before. You can just double click a function and the source code is displayed, and you see exactly who calls what at what time.

However, this easy access to source code is not available for marker "cause" stacks: You can see those stacks in the marker tooltip, but you can't click them. The only way to display those stacks in a "clickable" place is if you go to the marker table and select the right marker row; then the stack is displayed in the marker table sidebar.

It would be great to be able to double click stack frames in the marker table sidebar, to show the source view with the clicked function at the stack frame's line.

The marker _chart_ currently does not have a sidebar or even allow selecting markers, but once it does, it would also need this functionality.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-541)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.