Skip to content

Add option to collect gcdump (MTPv2) #7126

@bart-vmware

Description

@bart-vmware

Summary

When a hang or crash occurs when running tests in the C/I environment on macOS, we are unable to analyze the dump file because none of our team members owns a Mac. It would be handy to be able to collect a dump in GCDump format, which can be loaded cross-platform.

Proposed Feature

The currently supported dump types for the --crashdump-type and --hangdump-type parameters are, according to https://learn.microsoft.com/en-us/dotnet/core/testing/microsoft-testing-platform-extensions-diagnostics: Mini, Heap, Triage, Full.

An additional option should be provided to collect a GC (Garbage Collector) dump, similar to how https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-gcdump works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MTPBelongs to the Microsoft.Testing.Platform core library

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions