Index: generic/nsf.c =================================================================== diff -u -rfee742c6996b9e363557de8b10ff85bb48b848ad -r76cc1aa8be57663ae41f0709084f084e495601bc --- generic/nsf.c (.../nsf.c) (revision fee742c6996b9e363557de8b10ff85bb48b848ad) +++ generic/nsf.c (.../nsf.c) (revision 76cc1aa8be57663ae41f0709084f084e495601bc) @@ -18483,15 +18483,15 @@ } else { Tcl_Command cmd = NULL, currentCmd = NULL; - const char *lookupMethodName = NULL, *methodName; + const char *lookupMethodName, *methodName; int isEnsemble = (cscPtr->frameType & NSF_CSC_TYPE_ENSEMBLE) != 0u; Tcl_ResetResult(interp); methodName = Tcl_GetCommandName(interp, cscPtr->cmdPtr); if (isEnsemble) { - NsfCallStackContent *cscPtr1; - cscPtr1 = CallStackFindEnsembleCsc(framePtr, &framePtr); + NsfCallStackContent *cscPtr1 = CallStackFindEnsembleCsc(framePtr, &framePtr); + lookupMethodName = MethodName(cscPtr1->objv[0]); } else { lookupMethodName = methodName;