guile-user
[Top][All Lists]
Advanced

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

Re: display-backtrace


From: Mike Gran
Subject: Re: display-backtrace
Date: Fri, 1 Mar 2019 03:46:36 -0800
User-agent: Mutt/1.11.3 (2019-02-01)

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



reply via email to

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