You are viewing a potentially older version of this package.
View all versions.
ErrorAnalyzer
Add a button to copy and close the error message, and list functions of mods on the call stack. 错误分析:增加一个可以复制并关闭错误讯息的按钮,列出调用栈上的mod补丁函数名称
| Date uploaded | 2 years ago |
| Version | 1.0.0 |
| Download link | starfi5h-ErrorAnalyzer-1.0.0.zip |
| Downloads | 1973 |
| Dependency string | starfi5h-ErrorAnalyzer-1.0.0 |
This mod requires the following mods to function
README
Error Analyzer
- Add a button (Copy) to copy and close the error message.
- List functions of mods on the call stack under the StackTrace.

For exmaple, the above image will copy the following text to clipboard.
An error has occurred! Game version 0.10.28.20779
3 Mods used: [IlLine1.0.0] [ErrorAnalyzer1.0.0] [MinerInfo1.1.0]
System.TypeLoadException: Could not resolve type with token 0100003d (from typeref, class/assembly StringTranslate, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
at UIVeinDetailNode._OnUpdate () [0x00005] ;IL_0005
at ManualBehaviour._Update () [0x0001f] ;IL_001F
== Related patches on the stack ==
_OnUpdate(Prefix): static bool MinerInfo.MaxOutputPatch::UIVeinDetailNode_OnUpdate(UIVeinDetailNode __instance)
Usually the namespace of the function is the mod name, so we can find that a prefix patch in the mod MinerInfo is causing the error.
错误分析
- 增加一个可以复制并关闭错误讯息的按钮(Copy)
- 在最下方列出调用栈上的mod补丁函数名称
通常函数的命名空间就是模组(mod)名称,因此我们可以得知模组MinerInfo中的前缀补丁导致了例图中的错误。
ChangeLogs
- v1.0.0: Initial released. (DSP 0.10.28.20779)
CHANGELOG
Changelog
v1.3.3
- IlLine is now built in, and also shown for wrapper dynamic-method.
- Temporary fix for threaded logString message in 0.10.33.27024
v1.3.2
- Fix a bug that after closing a running error when count > 100, the error window won't show up again.
- Now patches to
ThreadManager.ProcessFramedon't show if the function is not at the top.
v1.3.1
- Support both 0.10.32 and 0.10.33 (public-test).
- Wrapper dynamic-method (DMD) is now parsable.
v1.3.0
Overhaul enhance error message:
- Title now show "possible candidates" plugin names instead of all installed mods.
- The error stack trace now replace .Net type names to C# names, and remove the hash string in <>.
- Bottom extra info now show related assembly names intead of plugin names.
v1.2.4
- Copy button now only copy mod list when shift is pressed.
- Adapt to DSP 0.10.32.25496
v1.2.3
- Highlight plugin name on stacktrace.
v1.2.2
- Suppress
CargoTraffic.PickupBeltItemserror in debug mode.
v1.2.1
- Suppress
CargoTraffic.SetBeltStateandCargoContainer.RemoveCargoerror in debug mode to dismantle the belts.
v1.2.0
- Add close button and inspect button. (DSP 0.10.30.23350)
v1.1.0
- Display the first exception that trigger during mods loading. (DSP 0.10.29.21904)
v1.0.0
- Initial released. (DSP 0.10.28.20779)