wasm-tracing-allocator icon indicating copy to clipboard operation
wasm-tracing-allocator copied to clipboard

Seems to just display an error instead of an allocation name

Open expenses opened this issue 3 years ago • 1 comments

Describe the Bug

Besides #4, I have this problem where the allocation is just listed as: 'Error\n at imports.wbg.__wbg_onalloczeroed_6fc8d…/mateversum_bg.wasm:wasm-function[1432]:0x2c4a6d)':

20220603_22h51m13s_grim

instead of something more meaningful. Do I need to enable debug info in a specific way for this?

expenses avatar Jun 03 '22 20:06 expenses

The allocation's name is based on creating an error and getting its stack info. That's why the name starts from Error.

The real problem is chrome's console.table() output squash the long name in the table cell. So I recommend you use firefox to get readable results.

Here's how the table looks like in firefox

Screen Shot 2022-08-04 at 19 11 45

mikialex avatar Aug 04 '22 11:08 mikialex