lib/modules/logger/usercommands/sendReport.js
function replacer(match, file, line, col) {
		line = parseInt(line, 10);
		col = parseInt(col, 10);

		for (var i = 0; i < responses.length; i++) {
			var meta = responses[i].meta;
			var sourcemap = meta && meta.sourcemaps && meta.sourcemaps[file];

			if (!sourcemap) {
				continue;
			}

			var smc = new SourceMapConsumer(sourcemap);
			var pos = smc.originalPositionFor({ line: line, column: col });

			if (pos) {
				return pos.name + ' (' + file + ':' + pos.line + ':' + pos.column + ')';
			}
		}

		return match;
	}
function replacer(match, file, line, col) {
		line = parseInt(line, 10);
		col = parseInt(col, 10);

		for (var i = 0; i < responses.length; i++) {
			var meta = responses[i].meta;
			var sourcemap = meta && meta.sourcemaps && meta.sourcemaps[file];

			if (!sourcemap) {
				continue;
			}

			var smc = new SourceMapConsumer(sourcemap);
			var pos = smc.originalPositionFor({ line: line, column: col });

			if (pos) {
				return pos.name + ' (' + file + ':' + pos.line + ':' + pos.column + ')';
			}
		}

		return match;
	}
function replacer ( match , file , line , col ) { line = parseInt ( line , 10 ) ; col = parseInt ( col , 10 ) ; for ( var i = 0 ; i < responses . length ; i ++ ) { var meta = responses [ i ] . meta ; var sourcemap = meta && meta . sourcemaps && meta . sourcemaps [ file ] ; if ( ! sourcemap ) { continue ; } var smc = new SourceMapConsumer ( sourcemap ) ; var pos = smc . originalPositionFor ( { line : line , column : col } ) ; if ( pos ) { return pos . name + ' (' + file + ':' + pos . line + ':' + pos . column + ')' ; } } return match ; }
On the client side, stacktrace.js has turned each entry into "symbol@file:line:col". Now try to source-map our way through it.
On the client side stacktrace . js has turned each entry into symbol