Skip to content

Commit a69c85f

Browse files
authored
chore: added ff cheat sheet
1 parent 11f68ba commit a69c85f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

browser_patches/firefox/cheatsheet.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Debugging
2+
3+
#### Stack trace
4+
5+
It `mozglue/misc/StackWalk.cpp` add
6+
7+
```c++
8+
#define MOZ_DEMANGLE_SYMBOLS 1
9+
```
10+
11+
In native code use
12+
13+
```c++
14+
nsTraceRefcnt::WalkTheStack(stderr);
15+
```

0 commit comments

Comments
 (0)