DkmNativeRuntimeInstance.ApplyCodeChange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
验证和合并以前添加的挂起编辑编译单位的代码/符号。 注意:在调用 Commit () 之前,所有代码/符号合并都处于挂起状态,并且不会修改调试对象。
位置约束:必须从 IDE 组件 (组件级别 100000) 中调用 API > 。
此 API 是在 Visual Studio 14 RTM (VS14RTM) 中引入的。
public:
void ApplyCodeChange(cli::array <Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionAddress ^> ^ ModifiedStackIPAddresses, cli::array <System::UInt32> ^ LineHints, [Runtime::InteropServices::Out] System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ % Warnings, [Runtime::InteropServices::Out] System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ % Errors);
public void ApplyCodeChange (Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress[] ModifiedStackIPAddresses, uint[] LineHints, out System.Collections.ObjectModel.ReadOnlyCollection<string> Warnings, out System.Collections.ObjectModel.ReadOnlyCollection<string> Errors);
member this.ApplyCodeChange : Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress[] * uint32[] * ReadOnlyCollection * ReadOnlyCollection -> unit
Public Sub ApplyCodeChange (ModifiedStackIPAddresses As DkmNativeInstructionAddress(), LineHints As UInteger(), ByRef Warnings As ReadOnlyCollection(Of String), ByRef Errors As ReadOnlyCollection(Of String))
参数
- ModifiedStackIPAddresses
- DkmNativeInstructionAddress[]
中已修改的堆栈帧的 Ip。 需要使用 IP 重映射的行提示。
- LineHints
- UInt32[]
中所编辑的堆栈 Ip 的从1开始的源行号提示。
- Warnings
- ReadOnlyCollection<String>
[Out,Optional]警告消息(如果有)。
- Errors
- ReadOnlyCollection<String>
[Out,Optional]错误消息(如果有)。