-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\hook_debug_on: does not log changes made by AddToHookNext #1459
Comments
If your code really attempts to add a hook into |
I agree that
but that wouldn't help here because the problem is that the command to which the cmd hook is added gets redefined. By the way, why do you try to use |
The use case is explained there, and indeed, the redefinitions of |
Brief outline of the bug
I am trying to debug some code that uses AddToHookNext and ClearHookNext with \hook_debug_on:. However, these do not seem to be tracked by it. When modifying a cmd hook, there is a trace in the log as lthooks analyses the command, but the actual update is not logged with as much precision as with AddToHook. And for the
para
hook, nothing shows.Minimal example showing the bug
Log file (required) and possibly PDF file
texstudio_FNpaGC.log
The text was updated successfully, but these errors were encountered: