guile-user
[Top][All Lists]
Advanced

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

Re: display-backtrace


From: Catonano
Subject: Re: display-backtrace
Date: Sat, 2 Mar 2019 18:36:39 +0100

Il giorno sab 2 mar 2019 alle ore 17:03 Mike Gran <address@hidden> ha
scritto:

> 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
>


thank you Mike

I meant to ask to inform me about the success of this attempt to Vladimir
Zhbanov, not to you, I just mis-operated the email GUI, here


reply via email to

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