[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 16:20:48 +0100 |
Il giorno ven 1 mar 2019 alle ore 12:47 Mike Gran <address@hidden> ha
scritto:
> On Sun, Feb 17, 2019 at 12:07:08PM +0300, Vladimir Zhbanov wrote:
> > Hi,
> >
> > Is there a way to not limit backtrace output with current terminal
> > width setting? When I compile my project which uses autotools and
> > srfi-64 testing suite, it fails on `make distcheck' stage so I
> > cannot use REPL for debugging (well, I don't know if it's possible
> > in such a case). When looking at backtrace, it shows me lots of
> > parens and lots of ellipses so I don't see real (long) filenames
> > and procedure names and can only guess what's happening. I use
> > Emacs `compile' command to run `make'. Showing backtrace lines
> > without such limitations would be much more helpful.
>
> Vladimir,
>
> One way to accomplish this is to set the COLUMNS environment variable
> to a large number. You might also try calling the terminal-width
> procedure with the number of columns you want. The terminal-width
> procedure is in the (system repl debug) module. Note that there is a
> different terminal width in each thread of your program, so maybe
> setting the COLUMNS environment variable would be easier.
>
> But I haven't tried these methods, so I don't know what will happen,
> exactly.
>
> Good luck,
>
> Mike Gran
>
In the manual, I see there's this procedure:
debug-set! option-name value
Modify the debug options. ‘debug-enable’ should be used with
boolean options and switches them on, ‘debug-disable’ switches them
off.
and you can see the debug options with
debug-options
at the promtp