Tag: #debugging (6) Clear filter ×

1 update

2 stories

2 stories

Autorefresh reworked on dev; Rubat explains how to debug it

In #next-update, Gonzo Pipi said Lua autorefresh stopped working for him on 64-bit dev (Windows 11 26H2) and asked how to debug it. Rubat said he added a console print for when autorefresh will certainly not work. On Windows there may be debug output, visible by attaching a debugger such as Visual Studio or WinDbg. Autorefresh changed in the previous day's dev update; he isn't having issues himself.

InitPostEntity hooks not running traced to an addon returning a value

In #next-update, DMatter04 reported that some addons' InitPostEntity hooks added with hook.Add never run, breaking addons such as Custom FOV. homonovus suggested an addon returns a non-nil value from its hook, and Zaurzo posted a lua_run snippet to find it. On 22 Oct DMatter04 found the culprit, lua/autorun/ultrakill_test_soulorbs.lua from "[DrGBase] ULTRAKILL - Enemies - Act II & Act III", using Zaurzo's whereis tip, and Zaurzo suggested asking the author to fix it.

2 stories