src/sap.ui.core/src/ui5loader.js
function dumpInternals(iThreshold) {

		var states = [PRELOADED, INITIAL, LOADED, READY, FAILED, EXECUTING, LOADING];
		var stateNames = {};
		stateNames[PRELOADED] = 'PRELOADED';
		stateNames[INITIAL] = 'INITIAL';
		stateNames[LOADING] = 'LOADING';
		stateNames[LOADED] = 'LOADED';
		stateNames[EXECUTING] = 'EXECUTING';
		stateNames[READY] = 'READY';
		stateNames[FAILED] = 'FAILED';

		if ( iThreshold == null ) {
			iThreshold = PRELOADED;
		}

		/*eslint-disable no-console */
		var info = log.isLoggable('INFO') ? log.info.bind(log) : console.info.bind(console);
		/*eslint-enable no-console */

		var aModuleNames = Object.keys(mModules).sort();
		states.forEach(function(state) {
			if ( state  < iThreshold ) {
				return;
			}
			var count = 0;
			info(stateNames[state] + ":");
			aModuleNames.forEach(function(sModule, idx) {
				var oModule = mModules[sModule];
				if ( oModule.state === state ) {
					var addtlInfo;
					if ( oModule.state === LOADING ) {
						var pending = oModule.pending && oModule.pending.reduce(function(acc, dep) {
							var oDepModule = Module.get(dep);
							if ( oDepModule.state !== READY ) {
								acc.push( dep + "(" + stateNames[oDepModule.state] + ")");
							}
							return acc;
						}, []);
						if ( pending && pending.length > 0 ) {
							addtlInfo = "waiting for " + pending.join(", ");
						}
					} else if ( oModule.state === FAILED ) {
						addtlInfo = (oModule.error.name || "Error") + ": " + oModule.error.message;
					}
					info("  " + (idx + 1) + " " + sModule + (addtlInfo ? " (" + addtlInfo + ")" : ""));
					count++;
				}
			});
			if ( count === 0 ) {
				info("  none");
			}
		});

	}
function dumpInternals(iThreshold) {

		var states = [PRELOADED, INITIAL, LOADED, READY, FAILED, EXECUTING, LOADING];
		var stateNames = {};
		stateNames[PRELOADED] = 'PRELOADED';
		stateNames[INITIAL] = 'INITIAL';
		stateNames[LOADING] = 'LOADING';
		stateNames[LOADED] = 'LOADED';
		stateNames[EXECUTING] = 'EXECUTING';
		stateNames[READY] = 'READY';
		stateNames[FAILED] = 'FAILED';

		if ( iThreshold == null ) {
			iThreshold = PRELOADED;
		}

		/*eslint-disable no-console */
		var info = log.isLoggable('INFO') ? log.info.bind(log) : console.info.bind(console);
		/*eslint-enable no-console */

		var aModuleNames = Object.keys(mModules).sort();
		states.forEach(function(state) {
			if ( state  < iThreshold ) {
				return;
			}
			var count = 0;
			info(stateNames[state] + ":");
			aModuleNames.forEach(function(sModule, idx) {
				var oModule = mModules[sModule];
				if ( oModule.state === state ) {
					var addtlInfo;
					if ( oModule.state === LOADING ) {
						var pending = oModule.pending && oModule.pending.reduce(function(acc, dep) {
							var oDepModule = Module.get(dep);
							if ( oDepModule.state !== READY ) {
								acc.push( dep + "(" + stateNames[oDepModule.state] + ")");
							}
							return acc;
						}, []);
						if ( pending && pending.length > 0 ) {
							addtlInfo = "waiting for " + pending.join(", ");
						}
					} else if ( oModule.state === FAILED ) {
						addtlInfo = (oModule.error.name || "Error") + ": " + oModule.error.message;
					}
					info("  " + (idx + 1) + " " + sModule + (addtlInfo ? " (" + addtlInfo + ")" : ""));
					count++;
				}
			});
			if ( count === 0 ) {
				info("  none");
			}
		});

	}
function dumpInternals ( iThreshold ) { var states = [ PRELOADED , INITIAL , LOADED , READY , FAILED , EXECUTING , LOADING ] ; var stateNames = { } ; stateNames [ PRELOADED ] = 'PRELOADED' ; stateNames [ INITIAL ] = 'INITIAL' ; stateNames [ LOADING ] = 'LOADING' ; stateNames [ LOADED ] = 'LOADED' ; stateNames [ EXECUTING ] = 'EXECUTING' ; stateNames [ READY ] = 'READY' ; stateNames [ FAILED ] = 'FAILED' ; if ( iThreshold == null ) { iThreshold = PRELOADED ; } /*eslint-disable no-console */ var info = log . isLoggable ( 'INFO' ) ? log . info . bind ( log ) : console . info . bind ( console ) ; /*eslint-enable no-console */ var aModuleNames = Object . keys ( mModules ) . sort ( ) ; states . forEach ( function ( state ) { if ( state < iThreshold ) { return ; } var count = 0 ; info ( stateNames [ state ] + ":" ) ; aModuleNames . forEach ( function ( sModule , idx ) { var oModule = mModules [ sModule ] ; if ( oModule . state === state ) { var addtlInfo ; if ( oModule . state === LOADING ) { var pending = oModule . pending && oModule . pending . reduce ( function ( acc , dep ) { var oDepModule = Module . get ( dep ) ; if ( oDepModule . state !== READY ) { acc . push ( dep + "(" + stateNames [ oDepModule . state ] + ")" ) ; } return acc ; } , [ ] ) ; if ( pending && pending . length > 0 ) { addtlInfo = "waiting for " + pending . join ( ", " ) ; } } else if ( oModule . state === FAILED ) { addtlInfo = ( oModule . error . name || "Error" ) + ": " + oModule . error . message ; } info ( "  " + ( idx + 1 ) + " " + sModule + ( addtlInfo ? " (" + addtlInfo + ")" : "" ) ) ; count ++ ; } } ) ; if ( count === 0 ) { info ( "  none" ) ; } } ) ; }
Dumps information about the current set of modules and their state.

@param {int} [iThreshold=-1] Earliest module state for which odules should be reported
@private
Dumps information about the current set of modules and their state .