Gothic II: Gold Classic

Gothic II: Gold Classic

评价数不足
Human Readable Access Violations
   
奖励
收藏
已收藏
取消收藏
Type: Addon
Category: Utility
标签: Ninja, Debug
文件大小
发表于
更新日期
29.029 KB
2022 年 3 月 31 日 上午 8:41
2024 年 6 月 12 日 上午 2:21
2 项改动说明 ( 查看 )

订阅以下载
Human Readable Access Violations

描述
This patch offers more insight into crashes by showing symbol names and byte offsets for script induced access violation errors.

Access violations may differ in their stack traces and register information. The information within can be valuable to developers to fix bugs. However, this information is not very accessible and depending on the circumstance not easy to decode.

This patch makes this valuable information available. Users of this patch may contribute by sending access violation screenshots to mod-developers. This helps them to get to the bottom of game crashes more easily and, in turn, provide faster support.

Disclaimer
I had written this patch quite a while ago and never finalized it. Some byte-offset may be slightly off. It clarifies the stack trace for script functions only.

The patch follows a manual procedure described here [2]. The uncovered Daedalus stack trace is inferior (incomplete and less accurate) to Ikarus's stack trace printed to the zSpy. If access to the zSpy is possible, it should be preferred. The "Human Readable Access Violations" is therefore merely a small aid.

Full information on the patch is found here [1]. The source code is available here [3].

Links
[1] https://forum.worldofplayers.de/forum/threads/?p=26774926
[2] https://forum.worldofplayers.de/forum/threads/?p=25925207
[3] https://github.com/szapp/HRAV


[ko-fi.com]
1 条留言
skazy 2022 年 7 月 19 日 下午 7:37 
Such a nicely written description. It feels like i am reading an articles from ieee