Share via


DkmNativeRuntimeInstance.ApplyCodeChange 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.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.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))

Parameters

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