Record history in debugger