包括回调方法,这些方法允许针对 .NET Core 常规和单文件应用程序按需定位和加载公共语言运行时版本特定的调试库。
RegisterForRuntimeStartup3 和 CreateDebuggingInterfaceFromVersion3 方法需要此接口。 它受 ICLRDebugging::OpenVirtualProcess
使用 dbgshim 的 CLRCreateInstance API 获取的方法支持。
方法
方法 | DESCRIPTION |
---|---|
ProvideWindowsLibrary | 允许调试器提供特定于版本的 Windows 调试库的路径。 |
ProvideUnixLibrary | 允许调试器提供特定于版本的 Linux 或 macOS 调试库的路径。 |
要求
平台: 请参阅 .NET 支持的作系统。
标头: dbgshim.h
库: dbgshim.dll、libdbgshim.so、libdbgshim.dylib
.NET 版本: 自 .NET 6.0 起可用