# \#redbug

**URL:** https://forum.elixirforum.com/tag/redbug/2933.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Rexbug: get arguments instead of arity in :retn trace-messages](https://forum.elixirforum.com/t/rexbug-get-arguments-instead-of-arity-in-retn-trace-messages/42572)

<div class="topic-metadata">

**Author:** [@Sebb](https://forum.elixirforum.com/u/Sebb)\
**Replies:** 4\
**Last updated:** [September 29, 2021, 8:47am UTC](https://forum.elixirforum.com/t/rexbug-get-arguments-instead-of-arity-in-retn-trace-messages/42572 "2021-09-29T08:47:44Z")

</div>

TIL that I can hook my own print functions into Rexbug: iex(1)\> Rexbug.start("Map.get/\_ :: return", \[print\_fun: fn msg -\> IO.inspect(msg) end\]) {111, 2} iex(2)\> Map.…
