onContextChanged method
void
onContextChanged()
Called when the debugging context changes (e.g., when switching controllers) Subclasses can override this to reinitialize their state
Implementation
void onContextChanged() {
// Default implementation does nothing
}