I have learned about measurability of functions, and a number of theorems depend on functions being measurable.
But I am not actually sure how "pathological" a function needs to get before becoming unmeasurable?
Are all real valued functions that people use in practical applications measurable?
Do you have to produce "cantor set-like" functions to get an unmeasurable function?
They are so horrible that their existence depends upon the set theory that you are working with. That is, there are models of the Zermelo-Fraenkel set theory (without the axiom of choice) for which every function from $\mathbb R$ into $\mathbb R$ is measurable. Therefore, there is no risk of stumbling into a non-measurable function in ordinary mathematical practice.