templates/report/backtrace.html.ep
changeset 37 013953be0f3b
parent 25 1a1cf5c35cfb
child 78 0ebef32c34af
equal deleted inserted replaced
36:703f1af889d1 37:013953be0f3b
     1 <a data-toggle="collapse" href="#backtrace-crashing-thread"><h3>Crashing thread top frames</h3></a>
     1 <a data-toggle="collapse" href="#backtrace-crashing-thread"><h3>Crashing thread top frames</h3></a>
     2 <div id="backtrace-crashing-thread" class="collapse in">
     2 <div id="backtrace-crashing-thread" class="collapse in">
     3   %= include 'report/backtrace/frames', frames => $crashing_thread->{frames}
     3   %= include 'report/backtrace/frames', thread => $crashing_thread
     4 </div>
     4 </div>
     5 <a data-toggle="collapse" href="#backtrace-all-threads"><h3>All threads</h3></a>
     5 <a data-toggle="collapse" href="#backtrace-all-threads"><h3>All threads</h3></a>
     6 <div id="backtrace-all-threads" class="collapse in">
     6 <div id="backtrace-all-threads" class="collapse in">
     7   % my $thread_id = 0;
     7   % my $thread_id = 0;
     8   % foreach my $thread(@$threads) {
     8   % foreach my $thread(@$threads) {
     9     %= t a => ( 'data-toggle' => "collapse", href => "#backtrace-thread-$thread_id" ) => begin
     9     %= t a => ( 'data-toggle' => "collapse", href => "#backtrace-thread-$thread_id" ) => begin
    10       %= t h4 => "Thread $thread_id"
    10       %= t h4 => "Thread $thread_id"
    11     % end
    11     % end
    12     %= t div => ( id => "backtrace-thread-$thread_id", class => "collapse in" ) => begin
    12     %= t div => ( id => "backtrace-thread-$thread_id", class => "collapse in" ) => begin
    13       %= include 'report/backtrace/frames', frames => $thread->{frames}
    13       %= include 'report/backtrace/frames', thread => $thread
    14       % $thread_id = $thread_id + 1;
    14       % $thread_id = $thread_id + 1;
    15     % end
    15     % end
    16   % }
    16   % }
    17 </div>
    17 </div>
    18 
    18