That is not the purpose, it is a tool to help in automated unit testing.
In unit testing you take a "unit" (module, class, whatever), feed it a whole lot of inputs and check if the output is correct.
If you want to "stop" segfaults you could set it up so sigsegv is simply ignored. in GDB you can do "handle SIGSEGV nostop print ignore". Have fun!
D1st0rt - Tue May 25, 2010 8:14 pm
Post subject:
It lets you come up with like "scenarios" for things you either want to test repeatedly or that would be difficult to set up otherwise. It does not fix your code, it just helps you find errors.