See #17798
T
       O
      context = {value: context};
    }
    let owners = null;
    if (_debugOwner) {
      owners = [];
      let owner = _debugOwner;
      while (owner !== null) {
        owners.push({
          displayName: getDisplayNameForFiber(owner) || 'Anonymous',
          id: getFiberID(getPrimaryFiber(owner)),
          type: getElementTypeForFiber(owner),
        });
        owner = owner._debugOwner || null;
      }
    }
    const isTimedOutSuspense =
      tag === SuspenseComponent && memoizedState !== null;
    let hooks = null;
    if (usesHooks) {
      const originalConsoleMethods = {};
       T
      for (let method in console) {
        try {
          originalConsoleMethods[method] = console[method];
           $
          console[method] = () => {};
        } catch (error) {}
      }