Skip to content

devtools: Implement function name preview in debugger popup - #42996

Merged
atbrakhi merged 1 commit into
servo:mainfrom
atbrakhi:show_whole_object
Mar 4, 2026
Merged

atbrakhi merged 1 commit into
servo:mainfrom
atbrakhi:show_whole_object

Conversation

@atbrakhi

@atbrakhi atbrakhi commented Mar 3, 2026 •

Copy link
Copy Markdown
Member

The debugger preview popup was showing function () for all functions. This change implements support to show function name in the debugger preview popup.

This is initial work towards showing other values in debugger preview popup!

Before:
image

After:
image

image

Testing: Existing test passes
Fixes: Part of #36027

@atbrakhi

atbrakhi commented Mar 3, 2026 •

Copy link
Copy Markdown
Member Author

keeping it draft until we land #42994, there might be conflict.

The debugger popup was showing `function ()` for all functions. This change
implements support to show function name in the debugger preview popup

Signed-off-by: atbrakhi <[email protected]>
@atbrakhi
atbrakhi force-pushed the show_whole_object branch from 9eeae2e to 90aaec4 Compare March 4, 2026 11:03
@atbrakhi
atbrakhi marked this pull request as ready for review March 4, 2026 11:04
@atbrakhi
atbrakhi requested a review from gterzian as a code owner March 4, 2026 11:04
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 4, 2026
@atbrakhi
atbrakhi requested a review from eerii March 4, 2026 11:04

@eerii eerii left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Mar 4, 2026
@atbrakhi
atbrakhi added this pull request to the merge queue Mar 4, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Mar 4, 2026
Merged via the queue into servo:main with commit 9c43b52 Mar 4, 2026
33 checks passed
@atbrakhi
atbrakhi deleted the show_whole_object branch March 4, 2026 11:53
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Mar 4, 2026
@eerii eerii mentioned this pull request Mar 4, 2026
@eerii eerii mentioned this pull request Apr 16, 2026
24 of 37 tasks
offline-ant pushed a commit to offline-ant/havi that referenced this pull request Jun 4, 2026
)

The debugger preview popup was showing `function ()` for all functions.
This change implements support to show function name in the debugger
preview popup.

This is initial work towards showing other values in debugger preview
popup!

**Before:**
<img width="306" height="118" alt="image"
src="https://github.com/user-attachments/assets/5c090820-4862-4234-a6ea-50666f83c192"
/>


**After:**
<img width="282" height="128" alt="image"
src="https://github.com/user-attachments/assets/869a0122-c9da-4098-bb77-8a1110c29d48"
/>

<img width="286" height="137" alt="image"
src="https://github.com/user-attachments/assets/8655a8cb-bbd3-4b80-a297-daac58a6337f"
/>


Testing: Existing test passes
Fixes: Part of servo#36027

Signed-off-by: atbrakhi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants