templates/report/backtrace.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Mon, 04 Aug 2014 15:45:02 +0200
changeset 33 da690d68c1ff
parent 25 1a1cf5c35cfb
child 37 013953be0f3b
permissions -rw-r--r--
Fix sort order for Sql storage
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     1
<a data-toggle="collapse" href="#backtrace-crashing-thread"><h3>Crashing thread top frames</h3></a>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     2
<div id="backtrace-crashing-thread" class="collapse in">
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     3
  %= include 'report/backtrace/frames', frames => $crashing_thread->{frames}
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     4
</div>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     5
<a data-toggle="collapse" href="#backtrace-all-threads"><h3>All threads</h3></a>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     6
<div id="backtrace-all-threads" class="collapse in">
25
1a1cf5c35cfb Collapsable thread backtrace
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
     7
  % my $thread_id = 0;
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     8
  % foreach my $thread(@$threads) {
25
1a1cf5c35cfb Collapsable thread backtrace
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
     9
    %= t a => ( 'data-toggle' => "collapse", href => "#backtrace-thread-$thread_id" ) => begin
1a1cf5c35cfb Collapsable thread backtrace
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    10
      %= t h4 => "Thread $thread_id"
1a1cf5c35cfb Collapsable thread backtrace
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    11
    % end
1a1cf5c35cfb Collapsable thread backtrace
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    12
    %= t div => ( id => "backtrace-thread-$thread_id", class => "collapse in" ) => begin
1a1cf5c35cfb Collapsable thread backtrace
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    13
      %= include 'report/backtrace/frames', frames => $thread->{frames}
1a1cf5c35cfb Collapsable thread backtrace
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    14
      % $thread_id = $thread_id + 1;
1a1cf5c35cfb Collapsable thread backtrace
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    15
    % end
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    16
  % }
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    17
</div>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    18