I’m trying to merge the git master into the guile 3 branch but I’m getting a weird error with undefined variables. Is it possible to drop into a guile shell when the error occurs instead of crashing? I’d like to examine the variables at the time of the crash maybe step through the source?
Dropping into a guile shell on error
In init-texmacs.scm
there are some indication that might be possible, in particular
(define developer-mode?
(equal? (cpp-get-preference "developer tool" "off") "on"))
(if developer-mode?
(debug-enable 'backtrace 'debug))
Try to activate the developer tools in the menus and then exit and reenter TeXmacs to rerun the initialisation script.
1 Like