16 lines
182 B
Markdown
Raw Normal View History

2020-03-04 20:09:05 -08:00
### Debugging
#### Stack trace
It `mozglue/misc/StackWalk.cpp` add
```c++
#define MOZ_DEMANGLE_SYMBOLS 1
```
In native code use
```c++
nsTraceRefcnt::WalkTheStack(stderr);
```