guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What debugger breakpoint features would you like?


From: Thien-Thi Nguyen
Subject: Re: What debugger breakpoint features would you like?
Date: Sat, 02 Feb 2002 12:31:47 -0800

   From: Keith Wright <address@hidden>
   Date: Fri, 1 Feb 2002 22:08:24 -0500

      '(display ARGS ...) -- What the fsck is `pk'?

from ice-9/boot-9.scm:

;; peek takes any number of arguments, writes them to the
;; current ouput port, and returns the last argument.
;; It is handy to wrap around an expression to look at
;; a value each time is evaluated, e.g.:
;;
;;      (+ 10 (troublesome-fn))
;;      => (+ 10 (pk 'troublesome-fn-returned (troublesome-fn)))
;;

(useful for those in the printf debugging school.  :-)

thi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]