src/vs/workbench/contrib/debug/browser/callStackView.ts/assignThreadContext
function assignThreadContext(element: IThread, context: any) {
	context.threadId = element.getId();
	assignSessionContext(element.session, context);
	return context;
}