Fix allocation debugger to handle allocations in con/destructors