2020-03-04 20:09:05 -08:00

16 lines
182 B
Markdown

### Debugging
#### Stack trace
It `mozglue/misc/StackWalk.cpp` add
```c++
#define MOZ_DEMANGLE_SYMBOLS 1
```
In native code use
```c++
nsTraceRefcnt::WalkTheStack(stderr);
```