Reputation: 144
I want valgrind to stop on the first error it finds and exit.
Please do not suggest
--vgdb-error=1
: It does not exit valgrind. You have to connect gdb and kill from there.--db-attach
: Deprecated and removed in a recent release--log-file=<filename>
: It does not stop valgrind.My intention is to save my time and get my shell back as soon as the first error is printed. The first error is all I care about.
Upvotes: 3
Views: 753
Reputation: 2154
--gen-suppressions=yes
will pause on each error and ask you if you wish to continue.
In addition to that, you can specify --input-fd=<file descriptor>
to provide an alternative to stdin
(standard input) at the moment of interacting with the suppression menu.
Upvotes: 1