templates/report/backtrace.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Sun, 03 Aug 2014 16:45:34 +0200
changeset 27 2b158020f0d5
parent 25 1a1cf5c35cfb
child 37 013953be0f3b
permissions -rw-r--r--
Revert to the non-async gearman client. I'm unable to make the AnyEvent client work with plack-based servers. Use gearman background jobs instead

<a data-toggle="collapse" href="#backtrace-crashing-thread"><h3>Crashing thread top frames</h3></a>
<div id="backtrace-crashing-thread" class="collapse in">
  %= include 'report/backtrace/frames', frames => $crashing_thread->{frames}
</div>
<a data-toggle="collapse" href="#backtrace-all-threads"><h3>All threads</h3></a>
<div id="backtrace-all-threads" class="collapse in">
  % my $thread_id = 0;
  % foreach my $thread(@$threads) {
    %= t a => ( 'data-toggle' => "collapse", href => "#backtrace-thread-$thread_id" ) => begin
      %= t h4 => "Thread $thread_id"
    % end
    %= t div => ( id => "backtrace-thread-$thread_id", class => "collapse in" ) => begin
      %= include 'report/backtrace/frames', frames => $thread->{frames}
      % $thread_id = $thread_id + 1;
    % end
  % }
</div>