src/sap.ui.core/src/sap/ui/core/support/techinfo/TechnicalInfo.js
function () {
			var oModel = this._oDialog.getModel("view"),
				oControl = this._getControl("customDebugValue", this._DEBUG_MODULES_ID),
				oTreeResults;

			try {
				this._validateCustomDebugValue(oControl.getValue());
			} catch (oException)  {
				this._showError(oControl, oException.message);
				return;
			}

			// convert boolean string to boolean value
			if (oModel.getProperty("/CustomDebugMode") === "true") {
				oModel.setProperty("/CustomDebugMode", true);
			}
			if (oModel.getProperty("/CustomDebugMode") === "false") {
				oModel.setProperty("/CustomDebugMode", false);
			}

			// set validated value and update tree accordingly
			window["sap-ui-debug"] = oModel.getProperty("/CustomDebugMode");
			oTreeResults = this._treeHelper.toTreeModel(this._oModuleSystemInfo);
			oModel.setProperty("/DebugModules", [oTreeResults.tree]);

			// adopt tree depth to the deepest currently selected module
			this._getControl("tree", this._DEBUG_MODULES_ID).expandToLevel(Math.max(this._MIN_EXPAND_LEVEL_DEBUG_MODULES, oTreeResults.depth));

			this._updateTreeInfos();
		}
function () {
			var oModel = this._oDialog.getModel("view"),
				oControl = this._getControl("customDebugValue", this._DEBUG_MODULES_ID),
				oTreeResults;

			try {
				this._validateCustomDebugValue(oControl.getValue());
			} catch (oException)  {
				this._showError(oControl, oException.message);
				return;
			}

			// convert boolean string to boolean value
			if (oModel.getProperty("/CustomDebugMode") === "true") {
				oModel.setProperty("/CustomDebugMode", true);
			}
			if (oModel.getProperty("/CustomDebugMode") === "false") {
				oModel.setProperty("/CustomDebugMode", false);
			}

			// set validated value and update tree accordingly
			window["sap-ui-debug"] = oModel.getProperty("/CustomDebugMode");
			oTreeResults = this._treeHelper.toTreeModel(this._oModuleSystemInfo);
			oModel.setProperty("/DebugModules", [oTreeResults.tree]);

			// adopt tree depth to the deepest currently selected module
			this._getControl("tree", this._DEBUG_MODULES_ID).expandToLevel(Math.max(this._MIN_EXPAND_LEVEL_DEBUG_MODULES, oTreeResults.depth));

			this._updateTreeInfos();
		}
function ( ) { var oModel = this . _oDialog . getModel ( "view" ) , oControl = this . _getControl ( "customDebugValue" , this . _DEBUG_MODULES_ID ) , oTreeResults ; try { this . _validateCustomDebugValue ( oControl . getValue ( ) ) ; } catch ( oException ) { this . _showError ( oControl , oException . message ) ; return ; } // convert boolean string to boolean value if ( oModel . getProperty ( "/CustomDebugMode" ) === "true" ) { oModel . setProperty ( "/CustomDebugMode" , true ) ; } if ( oModel . getProperty ( "/CustomDebugMode" ) === "false" ) { oModel . setProperty ( "/CustomDebugMode" , false ) ; } // set validated value and update tree accordingly window [ "sap-ui-debug" ] = oModel . getProperty ( "/CustomDebugMode" ) ; oTreeResults = this . _treeHelper . toTreeModel ( this . _oModuleSystemInfo ) ; oModel . setProperty ( "/DebugModules" , [ oTreeResults . tree ] ) ; // adopt tree depth to the deepest currently selected module this . _getControl ( "tree" , this . _DEBUG_MODULES_ID ) . expandToLevel ( Math . max ( this . _MIN_EXPAND_LEVEL_DEBUG_MODULES , oTreeResults . depth ) ) ; this . _updateTreeInfos ( ) ; }
Sets the validated value from the input field and re-evaluates the module tree according to the input
Sets the validated value from the input field and re - evaluates the module tree according to the input