chore: added ff cheat sheet
This commit is contained in:
parent
11f68bac54
commit
a69c85f5f8
15
browser_patches/firefox/cheatsheet.md
Normal file
15
browser_patches/firefox/cheatsheet.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
### Debugging
|
||||
|
||||
#### Stack trace
|
||||
|
||||
It `mozglue/misc/StackWalk.cpp` add
|
||||
|
||||
```c++
|
||||
#define MOZ_DEMANGLE_SYMBOLS 1
|
||||
```
|
||||
|
||||
In native code use
|
||||
|
||||
```c++
|
||||
nsTraceRefcnt::WalkTheStack(stderr);
|
||||
```
|
||||
Loading…
Reference in a new issue