Some code for internal trainings I give - on debugging and profiling.