We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 271a20e commit bc58745Copy full SHA for bc58745
src/UnityDebuggerAssistant/Patches/DebugPatch.cs
@@ -1,3 +1,4 @@
1
+#if DEBUG
2
using HarmonyLib;
3
using UnityDebuggerAssistant.Processing;
4
@@ -12,3 +13,4 @@ public static void Prefix()
12
13
UDAPlugin.Log?.LogInfo("Debug Throw Prefix");
14
}
15
16
+#endif
src/UnityDebuggerAssistant/UDAPlugin.cs
@@ -1,4 +1,4 @@
-using BepInEx;
+using BepInEx;
using BepInEx.Logging;
using MonoMod.RuntimeDetour;
@@ -76,7 +76,11 @@ Unity Debugger assistant is loaded and receiving exceptions!
76
77
Harmony harmony = new(LCMPluginInfo.PLUGIN_GUID);
78
79
80
+ //Debug patchers for testing
81
harmony.PatchAll(typeof(DebugPatches));
82
83
+
84
harmony.PatchAll(typeof(ExceptionConstructorPatch));
85
//harmony.PatchAll(typeof(ExceptionStackGetterPatch));
86
0 commit comments