/// <summary> Dump the content of internal variables</summary> public static void doShowProperties(DebugCLI cli) { System.Text.StringBuilder sb = new System.Text.StringBuilder(); Session session = cli.Session; foreach (String key in cli.propertyKeys()) { int value = cli.propertyGet(key); sb.Append(key); sb.Append(" = "); //$NON-NLS-1$ sb.Append(value); sb.Append('\n'); } // session manager { PlayerSessionManager mgr = (PlayerSessionManager)Bootstrap.sessionManager(); sb.Append(LocalizationManager.getLocalizedTextString("key21")); //$NON-NLS-1$ sb.Append('\n'); foreach (String key in mgr.keySet()) { Object value = mgr.getPreferenceAsObject(key); sb.Append(key); sb.Append(" = "); //$NON-NLS-1$ sb.Append(value); sb.Append('\n'); } } if (session != null) { PlayerSession psession = (PlayerSession)session; sb.Append(LocalizationManager.getLocalizedTextString("key22")); //$NON-NLS-1$ sb.Append('\n'); foreach (String key in psession.keySet()) { Object value = psession.getPreferenceAsObject(key); sb.Append(key); sb.Append(" = "); //$NON-NLS-1$ sb.Append(value); sb.Append('\n'); } } cli.output(sb.ToString()); }