feat: add task debugger

This commit is contained in:
goat 2021-10-11 23:54:48 +02:00
parent 85affedaa8
commit f8597415c0
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
4 changed files with 322 additions and 3 deletions

View file

@ -1064,15 +1064,15 @@ namespace Dalamud.Plugin.Internal
/// </summary>
internal partial class PluginManager
{
private MonoMod.RuntimeDetour.Hook assemblyLocationMonoHook;
private MonoMod.RuntimeDetour.Hook assemblyCodeBaseMonoHook;
/// <summary>
/// A mapping of plugin assembly name to patch data. Used to fill in missing data due to loading
/// plugins via byte[].
/// </summary>
internal static readonly Dictionary<string, PluginPatchData> PluginLocations = new();
private MonoMod.RuntimeDetour.Hook assemblyLocationMonoHook;
private MonoMod.RuntimeDetour.Hook assemblyCodeBaseMonoHook;
/// <summary>
/// Patch method for internal class RuntimeAssembly.Location, also known as Assembly.Location.
/// This patch facilitates resolving the assembly location for plugins that are loaded via byte[].