A Hoe plugin to help you debug your C extensions. This plugin provides test:gdb and test:valgrind tasks (plus a few variants).

See the Hoe::Debugging module for a few configuration options.

This plugin expects you to have gdb and valgrind available in your PATH.


# in your Rakefile
Hoe.plugin :debugging

# in your shell
$ rake test:gdb
$ rake test:valgrind

# if you've got valgrind warnings you've deemed OK to suppress
$ rake test:valgrind:suppression
$ rake test:valgrind # this runs, suppressing the errors previously emitted by valgrind


$ gem install hoe-debugging

You should also use your distro's package manager to install gdb and valgrind.


MIT. See LICENSE file in this repository.