Fixed debug backtrace on helper functions

This was needed because helper functions added an extra level of trace.