[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] Debugging command_reps
From: |
Miguel de Benito Delgado |
Subject: |
[Texmacs-dev] Debugging command_reps |
Date: |
Sat, 24 Mar 2012 15:07:28 +0100 |
User-agent: |
Postbox 3.0.3 (Macintosh/20120304) |
Hi,
I'm trying to debug an insidious bug related to the execution of
delayed commands (exec_pending_commands()) and I want to know what those
commands are. Inside object_command_rep::apply() I'd like to add
something like
cout << "command apply: " << object_to_string(obj) << "\n";
and get something more useful than
command apply: #<procedure #f ()>
How can I examine the code of the procedure? Is it even possible at this
stage?
--
______________
Miguel de Benito.
- [Texmacs-dev] Debugging command_reps,
Miguel de Benito Delgado <=