templates/report/backtrace.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Thu, 28 Aug 2014 00:06:24 +0200
changeset 48 d6c5b0633fe2
parent 37 013953be0f3b
child 78 0ebef32c34af
permissions -rw-r--r--
Use a recommended version number to avoid the strange eval dance when using '1' only Fixes the last perlcritic error

<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', thread => $crashing_thread
</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', thread => $thread
      % $thread_id = $thread_id + 1;
    % end
  % }
</div>