make ptr() private, show size & offset in trace