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

Definition

Überprüfen und Zusammenführen von Code/Symbolen für das vorherige hinzugefügte kompianfüge Kompilierungen. Hinweis: die Zusammenführung von Code/Symbolen steht im Arbeitsspeicher aus, und die zu debuggende Komponente wird erst geändert, wenn Commit () aufgerufen wird.

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))

Parameter

nativeRuntimeInstance
DkmNativeRuntimeInstance

In Stellt den nativen Code dar, der in einem Ziel Prozess ausgeführt wird.

modifiedStackIPAddresses
DkmNativeInstructionAddress[]

In Die IP-Adressen der Stapel Rahmen, die geändert wurden. Erforderlich, um die Zeilen Hinweise für die IP-Neuzuordnung zu verwenden.

lineHints
UInt32[]

In Die 1-basierten Quellzeilen Nummern Hinweise für die bearbeiteten Stapel-IPS.

warnings
ReadOnlyCollection<String>

[Out, optional] Warnmeldungen, falls vorhanden.

errors
ReadOnlyCollection<String>

[Out, optional] Fehlermeldungen, falls vorhanden.

Gilt für