(self, f)
| 2963 | MAX_CONTEXT_STACK = 2048 |
| 2964 | |
| 2965 | def output_summary(self, f): |
| 2966 | self.output_header(f) |
| 2967 | f.write('<div class="code">') |
| 2968 | self.output_context(f, InspectionWebFormatter.CONTEXT_SHORT) |
| 2969 | self.output_disasm_pc(f) |
| 2970 | # Output stack, trying to also output the stack trace if dumped. |
| 2971 | stack_top = self.try_output_stack_trace(f) |
| 2972 | |
| 2973 | exception_thread = self.reader.thread_map[self.reader.exception.thread_id] |
| 2974 | stack_bottom = min(exception_thread.stack.start + \ |
| 2975 | exception_thread.stack.memory.data_size, |
| 2976 | stack_top + self.MAX_CONTEXT_STACK) |
| 2977 | |
| 2978 | self.output_words(f, stack_top - 16, stack_bottom, stack_top, "Stack", |
| 2979 | self.heap.MachinePointerSize()) |
| 2980 | |
| 2981 | f.write('</div>') |
| 2982 | self.output_footer(f) |
| 2983 | return |
| 2984 | |
| 2985 | def try_output_stack_trace(self, f, start=None, print_message=True): |
| 2986 | """ |
no test coverage detected