ignacio / StackTracePlus

StackTracePlus provides enhanced stack traces for Lua.
MIT License
195 stars 27 forks source link

[FR] output trace to a file when displaying output is suppressed. #18

Open andrewcrook opened 4 months ago

andrewcrook commented 4 months ago

I wanted to get a good trace for a bug in a neovim lua plugin unfortunately neovim is suppressing the traces, including StackTracePlus's , output. I wonder if there could be an option to output to a file from with in the script itself?

andrewcrook commented 4 months ago

I suppose I can redirect dumper:concat_lines(), original_error to a file? where its returned at the end of function stacktrace