Add GDB and Valgrind examples

This commit is contained in:
Johann Dreo 2014-10-16 20:28:01 +02:00
commit 668acd0246
3 changed files with 11 additions and 0 deletions

BIN
gdb_colout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View file

@ -95,11 +95,22 @@ following shortcut:
![](cmake_theme_paradiseo.png)
You can colorize almost any text stream to make it more readable, see this comparison of the output of Valgrind:
![](valgrind_colout.png)
You can, of course, combine several calls to colout using pipes:
`make 2>&1 | colout -t cmake | colout -t g++`
![](themes_cmake_g++_paradiseo.png)
As colout is a KISS tool, you can even use it in hacks involving the shell,
like colorizing the output of GDB commands:
![](gdb_colout.png)
Try the `example.gdbinit` shipped with colout (copy/link it as `~/.gdbinit`).
## Tips

BIN
valgrind_colout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB