Akash Rawal
Akash Rawal

Reputation: 144

Exit valgrind on first error

I want valgrind to stop on the first error it finds and exit.

Please do not suggest

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

Answers (1)

arboreal84
arboreal84

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

Related Questions