Skip to content

Hard to use DOTNET_DbgEnableMiniDump when crossgen is involved somewhere in the build #122982

@ViktorHofer

Description

@ViktorHofer

fprintf(stderr, "DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: %s\n", program);

This line runs ahead-of-time in the non failure case when setting the DOTNET_DbgEnableMiniDump env var. The Crossgen2 pack currently doesn't ship createdump and therefore this line always raises an error when the env var is set.

This isn't great as it means that you can't set DOTNET_DbgEnableMiniDump if crossgen is involved. I.e. when building the runtime repo.

cc @hoyosjs

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions