Skip to content

Commit

Permalink
chore: added ff cheat sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman authored Mar 5, 2020
1 parent 11f68ba commit a69c85f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions browser_patches/firefox/cheatsheet.md
Original file line number Diff line number Diff line change
@@ -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);
```

0 comments on commit a69c85f

Please sign in to comment.