UnityDebuggerAssistant

版本 v1.4.2·更新於 2024-08-25

A BepinEx plugin that captures Harmony and Monomod hook information at runtime to ease debugging

模組介紹 作者原文

UnityDebuggerAssistant

A BepinEx plugin that captures Harmony and MonoMod hook information at runtime to ease debugging

Supported Games

  • Lethal Company
  • Valheim
  • ULTRAKILL
  • Cult of The Lamb
  • Last Train Outta Wormtown
  • Ultimate Chicken Horse

Maintainers

Original Author: Robyn

Current Maintainer(s): Robyn

This mod has been dedicated to the Lethal Company Modding community repo and may be maintained by any willing community member with a github account.

Current Features

  • Enumerates patches from both Harmony and MonoMod/HookGenPatcher
  • Outputs a list of all plugins that modify a specific method when an Exception with a valid trace is thrown
  • Includes useful symbols for debugging such as:
  • Calling Method for the throwing method
  • Defining Assembly Name for the throwing method
  • PluginInfo GUID, Name and Version for Assemblies that contain BepinEx plugins

Configuration

Note

The blacklist works for either stage by matching the given string with the start of the assembly name that either produced the exception (in the exception context) or defined the method (in the frame context). This means that e.g. Unity.Engine will match any assembly name that begins with Unity.Engine such as Unity.Engine.CoreModule

  • Exception Filter

Note

Any match at this level discards the entire stack without writing it. This is for filtering whole mods or assemblies that produce useless or ignorable errors.

  • Whitelist
  • Enable Whitelist: enables or disables the whitelist on an exception basis
  • The whitelist cannot be configured but comes pre-loaded with common game assemblies. Enable this to substantially reduce log spam from UDA. Enabled by default
  • Blacklist
  • Enable Blacklist: enables or disables the blacklist on an exception basis
  • The exception blacklist is a comma separated list of assembly names that will be pattern matched against the assembly that threw the exception. Disabled by default.
  • Frame Filter

(those parts of the log that say ---FrameX)

Note

Any match at this level discards only the single frame. This is mostly intended for filtering system or engine assemblies that never seem to have anything useful to say inside a stack frame.

  • Whitelist
  • Enable Whitelist: enables or disables the whitelist on a frame basis
  • The whitelist cannot be configured but comes pre-loaded with common game assemblies. Enable this to slightly reduce log spam from UDA at the cost of less complete frame output when an error occurs. Disabled by default.
  • Blacklist
  • Enable Blacklist: enables or disables the blacklist on a frame basis
  • The black list is a comma separated list of assembly names that will be pattern matched from the start of each frame's method's defining assembly. This is rarely useful except for filtering out specific system assemblies e.g. UnityEngine or mscorlib from your the stack. Disabled by default.

How Does This Help Me?

It might not help you directly but when you go to ask for support and a kind and helpful person asks for your logs this plugin will output more debug information before each exception is written out. It will make their life easier and they will thank you.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
UnityDebuggerAssistant-1.4.2.zip
檔案大小
39.9 KiB
SHA-256
06417ffe12a06cc1a64a13882f7b87a45d01a8cd4d6231323525966e9d39dc15
入庫時間
2026-10-06 19:09