rollbar-gem icon indicating copy to clipboard operation
rollbar-gem copied to clipboard

Provide way to show more of top of stack trace

Open mehagar opened this issue 4 years ago • 1 comments

Currently rollbar only shows up to 100 lines of the stack in the case that the payload sent to Rollbar is too large, and there are more than 100 lines. It will also show only the top 50 and bottom 50 lines of the stack trace, which makes debugging SystemStackErrors more difficult in the case that the recursion doesn't show up in the top 50 lines of the call stack.

I would like a configuration option you can set that will let you customize the portion of stack frames that show up at the top of the trace.

mehagar avatar Nov 06 '20 21:11 mehagar

Another tack here may be to tweak the algorithms used to trim the payload when it's too large - i.e. maybe we can start by trying to keep more than 100 stack frames, or have options to prioritize the stack trace ahead of other parts of the payload.

brianr avatar Nov 10 '20 02:11 brianr