1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00
Commit graph

9 commits

Author SHA1 Message Date
Mikael Djurfeldt
e385639ebb * debugger.scm (read-and-dispatch-commands): Handle other throws
than 'exit-debugger.
1999-09-16 23:44:54 +00:00
Mikael Djurfeldt
318a34eeb6 * debugger.scm (eval-handler): Handle unhandled exceptions. 1999-09-16 22:42:11 +00:00
Mikael Djurfeldt
8b8fd2e3ce * debugger.scm ("p"): New alias for "evaluate";
Mark module with :no-backtrace.
("position"): New command.
(source-position, display-position): New procedures.
(display-source): Display position of expression, if available.
(catch-user-errors): Return #f on error.  (Commands are expected
to return a valid state.)
(read-and-dispatch-command): Bugfix: Return old state on error.
1999-09-16 21:26:27 +00:00
Mikael Djurfeldt
2834f3fe11 * debugger.scm ("evaluate"): Replaced `write-line' with calls to
`write' and `newline' since write-line doesn't write but displays.
1999-09-15 15:21:25 +00:00
Mikael Djurfeldt
c129a9b4cd * debugger.scm ("evaluate"): Newline after no env announcement. 1999-09-12 14:55:44 +00:00
Mikael Djurfeldt
0ea632464e * debugger.scm ("backtrace"): Don't pass length param to
display-backtrace if it wasn't explicitly given by the user.
(write-frame-long/application): Also print corresponding source
expression.
("evaluate"): Evaluate in local environment frame, if existent;
Handle errors.
1999-09-12 02:23:13 +00:00
Mikael Djurfeldt
8be85ef1fb * debugger.scm: Use the frame number abstraction which allows for
both forward and backward views of the stack
(write-frame-index-short, write-frame-index-long):
Use selector `frame-number';
(select-frame-absolute): Use frame-number->index.
("backtrace"): Use builtin backtrace printing.
Use (ice-9 debug).
Use readline conditionally.
1999-09-11 18:28:24 +00:00
Mikael Djurfeldt
daebab9eed Use readline conditionally. (This requires more fixing in the debugger...) 1999-09-11 14:55:02 +00:00
Mikael Djurfeldt
e80e1c98b3 * * 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.)
1999-09-11 13:36:02 +00:00