# Local stack dump capability would be nice

**URL:** <https://www.ruby-forum.com/t/local-stack-dump-capability-would-be-nice/188929>\
**Category:** Rails\
**Created:** [May 20, 2010, 5:15pm UTC](https://www.ruby-forum.com/t/local-stack-dump-capability-would-be-nice/188929 "2010-05-20T17:15:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 20, 2010, 5:15pm UTC](https://www.ruby-forum.com/t/local-stack-dump-capability-would-be-nice/188929/1 "2010-05-20T17:15:08Z")

</div>

If there was a way to limit parts of a ruby stack trace to just my  
code rather than the whole rails library and gems that would be an  
interesting feature …

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 20, 2010, 5:58pm UTC](https://www.ruby-forum.com/t/local-stack-dump-capability-would-be-nice/188929/2 "2010-05-20T17:58:27Z")

</div>

On May 20, 4:13 pm, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> If there was a way to limit parts of a ruby stack trace to just my  
> code rather than the whole rails library and gems that would be an  
> interesting feature …

like

> **[ActiveSupport::BacktraceCleaner](https://api.rubyonrails.org/classes/ActiveSupport/BacktraceCleaner.html)**
>
> Backtraces often include many lines that are not relevant for the context under review. This makes it hard to find the signal amongst the backtrace noise, and adds debugging time.

? (Rails will use the instance given by Rails.backtrace\_cleaner)

Fred

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 20, 2010, 7:54pm UTC](https://www.ruby-forum.com/t/local-stack-dump-capability-would-be-nice/188929/3 "2010-05-20T19:54:22Z")

</div>

hey, thanks

On May 20, 11:57 am, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
