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