commit: 27cf275730730674367efdd4c0f84524282b7c3d
parent 5e1c0583650a45ce07b1efb73502cdaef62030ec
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 7 Apr 2021 04:37:27 +0200
KnowledgeBase: Add GObject reference counting notes
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/KnowledgeBase.md b/KnowledgeBase.md
@@ -3,6 +3,15 @@
- https://trac.torproject.org/projects/tor/wiki/doc/ImportantGoogleChromeBugs / https://trac.torproject.org/projects/tor/ticket/1925
- https://webkit.org/blog/3476/content-blockers-first-look/
+# GObject Reference counting
+- `GOBJECT_DEBUG=instance-count GTK_DEBUG=interactive %command%`
+- Switch to the Statistics tab
+- Press record (top-left)
+- Do a bunch of actions, specially reversible ones
+- Stop recording
+
+Tiling window manager tip for WebKitGTK: Put the application and it's debugger on floating, leaving WebKitWebProcess ones in the back
+
# Bookmark formats
The different plain-text formats used by web browsers found in the wild, done
in Augmented Backus–Naur Form (ABNF).