diff --git a/NEWS b/NEWS index 7624a32e3..3cb8fd6a1 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,52 @@ Please send Guile bug reports to bug-guile@gnu.org. Changes since Guile 1.3.2: +* Changes to the stand-alone interpreter + +** Debugger + +An initial version of the Guile debugger written by Chris Hanson has +been added. The debugger is still under development but is included +in the distribution anyway since it is already quite useful. + +Type + + (debug) + +after an error to enter the debugger. Type `help' inside the debugger +for a description of available commands. + +If you prefer to have stack frames numbered and printed in +anti-chronological order and prefer up in the stack to be down on the +screen as is the case in gdb, you can put + + (debug-enable 'backwards) + +in your .guile startup file. (However, this means that Guile can't +use indentation to indicate stack level.) + +The debugger is autoloaded into Guile at the first use. + +** Further enhancements to backtraces + +There is a new debug option `width' which controls the maximum width +on the screen of printed stack frames. Fancy printing parameters +("level" and "length" as in Common LISP) are adaptively adjusted for +each stack frame to give maximum information while still fitting +within the bounds. If the stack frame can't be made to fit by +adjusting parameters, it is simply cut off at the end. This is marked +with a `$'. + +** Some modules are now only loaded when the repl is started + +The modules (ice-9 debug), (ice-9 session), (ice-9 threads) and (ice-9 +regex) are now loaded into (guile-user) only if the repl has been +started. The effect is that the startup time for scripts has been +reduced to 30% of what it was previously. + +Correctly written scripts load the modules they require at the top of +the file and should not be affected by this change. + * Changes to Scheme functions and syntax ** Readline support has changed again. @@ -101,6 +147,10 @@ otherwise return #f. Returns true iff OBJECT is a directory stream --- the sort of object returned by `opendir'. +** New function: using-readline? + +Return #t if readline is in use in the current repl. + * Changes to the scm_ interface ** The internal representation of subr's has changed diff --git a/ice-9/ChangeLog b/ice-9/ChangeLog index d4ee66b6c..17ffcb89b 100644 --- a/ice-9/ChangeLog +++ b/ice-9/ChangeLog @@ -1,5 +1,7 @@ 1999-09-12 Mikael Djurfeldt + * debugger.scm ("evaluate"): Newline after no env announcement. + * debug.scm, emacs.scm: Updated copyright notices. * boot-9.scm (make-autoload-interface): Bugfix. @@ -21,7 +23,7 @@ 1999-09-11 Mikael Djurfeldt -* * boot-9.scm (using-readline?): New procedure: Returns #t if + * boot-9.scm (using-readline?): New procedure: Returns #t if readline is used by the repl run by this thread. (handle-system-error): Print "Backtrace:" before backtrace since this is no longer done by display-backtrace. @@ -77,11 +79,11 @@ 1999-09-11 Mikael Djurfeldt -* * debugger.scm: New file: Initial version of the Guile debugger + * debugger.scm: New file: Initial version of the Guile debugger written by Chris Hanson. (The debugger isn't finished, but is included in Guile anyway since it is already quite useful.) -* * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9 + * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9 session) (ice-9 threads) (ice-9 regex) from guile-user only if top-repl is called. This makes startup time for scripts 30% of what it was before... Removed redundant code for loading of