Volkan YAZICI <[EMAIL PROTECTED]> writes:
> Hi,
>
> I'm trying to enable debbuging - that's (debug-enable 'backtrace) in
> Scheme - from a C program on-the-fly. Therefore, as far as I
> understand from the quite poorly documented guile manual, I should
> use scm_debug_options() for this purpose. But I couldn't find any clue
> about using this function in the neither manual, nor source code.
You should be able to put something like:
SCM_DEVAL_P = 1;
SCM_RECORD_POSITIONS_P = 1;
SCM_BACKTRACE_P = 1;
SCM_RESET_DEBUG_MODE;
Into your real_main (the one passed to scm_boot_guile). This will give
you debug output similar to the default debugging repl.
--
http://unknownlamer.org
Jabber:[EMAIL PROTECTED] AIM:unknownlamer IRC:[EMAIL PROTECTED]
I'm just thinking aloud; isn't thinking allowed?
443E 4F1A E213 7C54 A306 E328 7601 A1F0 F403 574B
_______________________________________________
Guile-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-user