dotnet / dotnet/diagnostics

[Feature Request] Debugger API to create ref structs

Open
#3,308 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 3h
Merged PRs (30d)
38

Description

ICorDebug has various ICorDebugEval APIs to create value types, but ref structs have a requirement that they be placed in stack memory. Visual Studio would like to run func-evals that take the addresses of ref structs as arguments (for example `System.Private.CoreLib.dll!System.Runtime.CompilerServices.DefaultInterpolatedStringHandler..ctor(int literalLength, int formattedCount)`) but they need to be able to create the ref struct first. Currently there is no ICorDebug API that can allocate types on the stack.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.