Displaying 1 result from an estimated 1 matches for "debug_protect".
Did you mean:
undebug_protect
2006 May 17
1
protect/unprotect howto in C code
...yEval?
While searching for code examples in the sources, I found both protected evals
and fewer non-protected.
- Can someone give a hint (or some documents) on a way to simplify debugging
such problem in addition to using gdb, please? I thought about temporarily
defining macros such as
#define DEBUG_Protect(x) PROTECT(x); fprintf(stderr, "Protecting in %s, l:
%d\n", __FILE__, __LINE__)
#define UNDEBUG_Protect(x) fprintf(stderr, "Unprotecting %d in %s, l:, %d
\n", x , __FILE__, __LINE__); UNPROTECT(x);
and then replace all calls temporarily in the package source. But there must...