Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9b7a297da64c031ac7ca65fc11f86f9aa390ec01
Ticket: 3532258fffffffffffffffffffffffffffffffff
Trying to increment refCount of previously disposed object
User & Date: ferrieux on 2012-06-11 23:42:17
Changes

  1. icomment:
    Note that if the offending object and refcount are stable across runs, gdb's "watch" command is handy:
    
    gdb> print &obj->refCount
    0x12345678
    gdb> watch *(int *)0x12345678
    
    Sure, the program will run extremely slowly, but you'll catch all decrements/increments to the specific object's refcount.
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"