StepMonitor
StepMonitor is an option for iterative numerical computation functions that gives an expression to evaluate whenever a step is taken by the numerical method used.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.