[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trace-calls-to-procedure
From: |
Tim Van den Langenbergh |
Subject: |
Re: trace-calls-to-procedure |
Date: |
Fri, 25 Dec 2020 15:56:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 25/12/2020 13:37, Tim Van den Langenbergh wrote:
trace-calls-to-procedure is a low-level trace procedure that returns a
trap that you have to install in the trap state. You can either use the
add-trap! procedure from (use-modules system vm trap-state), or use the
add-trace-at-procedure-call! procedure from the same module.
That said, there seems to be a bug in add-trace-at-procedure-call! which
I'm having a hard time figuring out... c'est la vie.
Vale
-Tim Van den Langenbergh
Update: the bug has already been addressed and a patch is awaiting merge:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43102
I imagine this'll get in for 3.0.5.
Vale,
-Tim Van den Langenbergh
OpenPGP_0xF50AF328D9D1E635.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature