feat: Add retaining paths MCP tool#2187
Merged
Merged
Conversation
Collaborator
Author
|
Note that I added this as a separate MCP tool. We've discussed merging them but get_heapsnapshot_retaining_paths only prints paths to the GC roots. But it doesn't print all retainers (=incoming edges) of an object like get_heapsnapshot_retainers does. |
Merged
via the queue into
ChromeDevTools:main
with commit Jun 9, 2026
a97c642
19 of 20 checks passed
|
Ok
Em ter., 9 de jun. de 2026 às 10:03, github-merge-queue[bot] <
***@***.***> escreveu:
… Merged #2187
<#2187> into
main.
—
Reply to this email directly, view it on GitHub
<#2187?email_source=notifications&email_token=CDNASIM5KDZZYC5RWLRDGHL47ADILA5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTENRVGIZTQMZRGQZDBJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#event-26523831420>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CDNASIN27CPWZ55F7LYSMGT47ADILAVCNFSM6AAAAACZ7CFN2WVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMRWGUZDGOBTGE2DEMA>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/CDNASIMM2OGDSMFVKI2N3VD47ADILA5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTENRVGIZTQMZRGQZDBJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/CDNASIL64ZZO2GUH7DYAXRT47ADILA5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTENRVGIZTQMZRGQZDBJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you are subscribed to this thread.Message
ID: <ChromeDevTools/chrome-devtools-mcp/pull/2187/issue_event/26523831420@
github.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the
get_heapsnapshot_retaining_pathsMCP tool. This can be used to find the paths from the target object to the GC roots which keep that object alive.