[[project @ 2005-06-25 18:11:10 by unknown_lamer] unknown_lamer**20050625181110 Guile's debugging evaluator is now enabled when --debug is used ] { hunk ./ChangeLog 1 +2005-06-25 Clinton Ebadi + + * source/Main.C (real_main): Enable Guile debugging mode when + --debug is used + + * source/Interp.C (interp_post_startup_helper): Return + SCM_UNSPECIFIED instead of 0 + hunk ./NEWS 30 + + Debugging + * The debugging evaluator is now enabled when --debug is passed to the bot hunk ./source/Interp.C 223 - return 0; + return SCM_UNSPECIFIED; hunk ./source/Main.C 17 -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +// 02110-1301, USA. hunk ./source/Main.C 226 - if (!debug) { - if (background) - switch (fork()) { - case -1: - std::cout << "Could not run in the background. Exiting...\n"; - perror("fork"); - exit(1); - case 0: + if (!debug) + { + if (background) + switch (fork()) + { + case -1: + std::cout << "Could not run in the background. Exiting...\n"; + perror("fork"); + exit(1); + case 0: hunk ./source/Main.C 237 - default: - std::cout << "Running in the background...\n"; - exit(0); - } - } + default: + std::cout << "Running in the background...\n"; + exit(0); + } + } hunk ./source/Main.C 245 + if (debug) + { + SCM_DEVAL_P = 1; + SCM_RECORD_POSITIONS_P = 1; + SCM_RESET_DEBUG_MODE; + } }