sincecutoff.com
← all changes

chrome-devtools-mcp adds heap snapshot comparison tools

Introduced 2026-07-03 · score 0.97

HOW TO USE IT

When memory debugging is enabled, compare the earlier and later `.heapsnapshot` files to get a class summary, then inspect a class by its 0-based summary index. The v1.5.0 tool reference documents this as one `compare_heapsnapshots` tool; it does not document the two tool names in the card.

WHY THIS HELPS

Compare saved Chrome memory heapsnapshots to identify changed classes and inspect changed objects for a class.

REQUIREMENTS AND LIMITATIONS

  • Version: 1.5.0
  • --memoryDebugging=true (required): Enables memory debugging tools.
  • baseFilePath (required): Path to the base `.heapsnapshot` file (earlier snapshot).
  • currentFilePath (required): Path to the current `.heapsnapshot` file (later snapshot).
  • classIndex: Optional 0-based index of a class in the summary list; supplying it returns that class’s individual-object diff.
  • Prerequisite: Enable memory debugging with `--memoryDebugging=true`.
  • Requires `--memoryDebugging=true`.
  • Both snapshot path parameters must identify `.heapsnapshot` files.
  • `classIndex` is a 0-based index in the summary list.
  • Docs conflict: The v1.5.0 tool reference documents `compare_heapsnapshots` with optional `classIndex` for summary or class detail. It does not document `compare_heapsnapshots_summary` or `compare_heapsnapshots_class_nodes`. Per instruction, no usage for the conflicting tool names is provided.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card