onContextChanged method

  1. @override
void onContextChanged()
override

Called when the debugging context changes (e.g., when switching controllers) Subclasses can override this to reinitialize their state

Implementation

@override
void onContextChanged() {
  super.onContextChanged();
  // Reinitialize log handler when context changes
  _setupLogHandler();
}