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
notes:tools [2025/05/05 19:06] – [''rr''] smj-edisonnotes:tools [2025/05/05 20:43] (current) – Update to first person w/ "Mason Jones" header admin
Line 5: Line 5:
   * ''rr'' is a time travel debugger that runs native programs with only about a 50% 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
-  * Mason Jones uses it as he'been weeding out bugs in ''jimtcl'' +  * Mason Jones
-  * I [Mason] 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 +    * I use it as I've been weeding out bugs in ''jimtcl'' 
-  * 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+    * 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.txt · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki