TraceDialog
TraceDialog[expr] initiates a dialog for every expression used in the evaluation of expr.
TraceDialog[expr,form] initiates a dialog only for expressions which match form.
TraceDialog[expr,s] initiates dialogs only for expressions whose evaluations use transformation rules associated with the symbol s.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.