User Tools

Site Tools


notes:tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:tools [2025/05/05 16:36] – Add link to GH, fix bullet points markup adminnotes:tools [2025/05/05 20:43] (current) – Update to first person w/ "Mason Jones" header admin
Line 1: Line 1:
 ====== Tools we use in the making of Folk ====== ====== Tools we use in the making of Folk ======
  
-===== ''rr'' [[https://github.com/rr-debugger/rr|rr debugger on GitHub]] ===== +===== ''rr'' ===== 
- +  * [[https://github.com/rr-debugger/rr|rr debugger on GitHub]]  
-  * ''rr'' is a time travel debugger that runs native programs with only about a 10% overhead+  * ''rr'' is a time travel debugger that runs native programs with only about a 50% overhead
   * it uses GDB for its interface   * it uses GDB for its interface
-  * It's kinda amazing to do ''watch -l someObj->refCount'', use ''rc'' to run backwards, and find exactly where the ''refCount'' was last set +  * Mason Jones: 
-  * Rob Fielding uses it as he's been weeding out bugs in ''jimtcl''+    * I use it as I've been weeding out bugs in ''jimtcl'' 
 +    * I start by setting a breakpoint at the segfault or panic, see what value is messed up, set a watchpoint, and run it backwards until I hit that watchpoint. Then it's a matter of alternating forwards and backwards until I find the exact spot 
 +    * For example, it's kinda amazing to do ''watch -l someObj->refCount'', use ''rc'' to run backwards, and find exactly where the ''refCount'' was last set
  
notes/tools.1746462995.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki