In the History page of the Debug Options dialog you can configure the type of information that is stored in a history file every time the CPU stops.
Debug Options, Directories page
Specifies the path to the history file.
Record - When checked, the history file is recorded.
Clear history on reset - When checked, the history file is cleared when the CPU is reset. When cleared, history entries are appended to the existing file's contents.
specifies what information should be written to the history file.