In simple cases, the Call Stack window will show this.
If the compiler used tail call optimization or the nesting method, it may give an unexpected result. But this should not happen during debugging, as this (by default) disables these optimizations.
yield iterators and async methods show where they came from, not where they were originally called.
source share