IDkmNativeEditAndContinueUpdate.ApplyCodeChange(DkmNativeRuntimeInstance, DkmNativeInstructionAddress[], UInt32[], ReadOnlyCollection<String>, ReadOnlyCollection<String>) Method

Definition

Validate and merge code/symbols for the previous added pending edit compiland. Note: All the code/symbols merging are pending in memory and no debuggee is modified until Commit() is called.

public:
 void ApplyCodeChange(Microsoft::VisualStudio::Debugger::Native::DkmNativeRuntimeInstance ^ nativeRuntimeInstance, 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.DkmNativeRuntimeInstance nativeRuntimeInstance, Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress[] modifiedStackIPAddresses, uint[] lineHints, out System.Collections.ObjectModel.ReadOnlyCollection<string> warnings, out System.Collections.ObjectModel.ReadOnlyCollection<string> errors);
abstract member ApplyCodeChange : Microsoft.VisualStudio.Debugger.Native.DkmNativeRuntimeInstance * Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionAddress[] * uint32[] * ReadOnlyCollection * ReadOnlyCollection -> unit
Public Sub ApplyCodeChange (nativeRuntimeInstance As DkmNativeRuntimeInstance, modifiedStackIPAddresses As DkmNativeInstructionAddress(), lineHints As UInteger(), ByRef warnings As ReadOnlyCollection(Of String), ByRef errors As ReadOnlyCollection(Of String))

Parameters

nativeRuntimeInstance
DkmNativeRuntimeInstance

[In] Represents the native code executing in a target process.

modifiedStackIPAddresses
DkmNativeInstructionAddress[]

[In] The IPs of the stack frames that have been modified. Required to use the line hints for IP remapping.

lineHints
UInt32[]

[In] The 1-based source line number hints for the edited stack IPs.

warnings
ReadOnlyCollection<String>

[Out,Optional] Warning messages, if any.

errors
ReadOnlyCollection<String>

[Out,Optional] Error messages, if any.

Applies to