Skip to content

[Breaking change]: Remove ICorDebugProcess11 #53690

@rcj1

Description

@rcj1

Description

Remove ICorDebugProcess11.

Version

.NET 11 Preview 5

Previous behavior

CordbProcess implemented ICorDebugProcess11 which includes a single API, EnumerateLoaderHeapMemoryRegions.

New behavior

ICorDebugProcess11 is deleted without replacement. No other changes are being made to CordbProcess.

Type of breaking change

  • Binary incompatible: Existing binaries might encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
  • Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code might require source changes to compile successfully.
  • Behavioral change: Existing binaries might behave differently at run time.

Reason for change

The API EnumerateLoaderHeapMemoryRegions was requested six years ago by Visual Studio for work on time-trace debugging. That effort has been abandoned, VS has no plans to use this API, and no usages of this API were found on GitHub or in internal Microsoft sources. This will allow us to simplify the surface area of ICorDebug as well as DacDbi.

Recommended action

N/A. We don't think anyone is using this API.

Feature area

Debugger

Affected APIs

EnumerateLoaderHeapMemoryRegions


Associated WorkItem - 578115

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.breaking-changeIndicates a .NET Core breaking change

Type

No type
No fields configured for issues without a type.

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions