[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-backtrace
From: |
Mike Gran |
Subject: |
Re: display-backtrace |
Date: |
Sat, 2 Mar 2019 08:03:18 -0800 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
On Sat, Mar 02, 2019 at 04:23:34PM +0100, Catonano wrote:
> API reference -> Debugging -> Programmatic error handling
>
> Would you mind to let me know if you succeed in making this thing work for
> you ?
>
> Thanks
I tried (debug-set! width 1000), but, I still got a truncated
backtrace on Guile 2.2.4
(setenv "COLUMNS" "1000")
did work for me, however.
(use-modules (system repl debug))
(terminal-width 1000)
also worked for me.
If you ever need a two-line program to test backtrace width, you can
use
(define (func x)
(/ 1 x))
(map func (reverse (iota 100)))
Hope this helps,
Mike Gran