Back trace function and online diagnostic