backtrace-on-stack-overflow icon indicating copy to clipboard operation
backtrace-on-stack-overflow copied to clipboard

add truncation and exit program

Open Pistonight opened this issue 8 months ago • 0 comments

My machine hangs printing the infinite stack in infinite SIGABRT callbacks

  • Changing abort to exit to kill the program after printing the trace once
  • Set the default limit for number of frames to print to 10
  • enable_with_limit to change the limit

Testing: cargo run --example main

Pistonight avatar Jun 08 '24 22:06 Pistonight