| author | Vincent Tondellier <tonton+hg@team1664.org> |
| Sat, 12 Dec 2015 15:55:55 +0100 | |
| changeset 79 | 4ae8bb6f8a96 |
| parent 78 | 0ebef32c34af |
| child 84 | 41164ea18780 |
| permissions | -rw-r--r-- |
| 0 | 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"> |
|
|
37
013953be0f3b
Add a new backtrace-processing filter stack
Vincent Tondellier <tonton+hg@team1664.org>
parents:
25
diff
changeset
|
3 |
%= include 'report/backtrace/frames', thread => $crashing_thread |
| 0 | 4 |
</div> |
5 |
<a data-toggle="collapse" href="#backtrace-all-threads"><h3>All threads</h3></a> |
|
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 | 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 |
|
37
013953be0f3b
Add a new backtrace-processing filter stack
Vincent Tondellier <tonton+hg@team1664.org>
parents:
25
diff
changeset
|
13 |
%= include 'report/backtrace/frames', thread => $thread |
|
25
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 | 16 |
% } |
17 |
</div> |