Remove full function names after first entry in the debug stack for
readability.