output.log
Trace: T0
@trace.ts:21:9
@trace.ts:27:9
Trace:
[email protected]:24:13
[email protected]:19:5
[email protected]:13:5
[email protected]:6:5
@trace.ts:22:1
[email protected]:31:10
[email protected]:24:2
[email protected]:16:2
[email protected]:7:2
@trace.ts:28:1
############ END OUTPUT ############
First Stack Trace under each "Trace:" is unmapped, while the second is after mapping
trace.js
// L
// O
// N
// G
function t1() {
t2();
}
// C
// O
// M
// M
function t2() {
t3();
}
// E
// N
// T
function t3() {
t4();
}
console.trace("T0");
t1();
function t4() {
console.trace();
}
trace.js.map
{"version":3,"sources":["trace.ts"],"names":[],"mappings":"AAAA,IAAI;AACJ,IAAI;AACJ,IAAI;AACJ,IAAI;AAEJ,SAAS,EAAE,GAAG;IACb,EAAE,EAAE,CAAC;CACL;AAED,IAAI;AACJ,IAAI;AACJ,IAAI;AACJ,IAAI;AAEJ,SAAS,EAAE,GAAG;IACb,EAAE,EAAE,CAAC;CACL;AAED,IAAI;AACJ,IAAI;AACJ,IAAI;AAEJ,SAAS,EAAE,GAAG;IACb,EAAE,EAAE,CAAC;CACL;AAED,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACpB,EAAE,EAAE,CAAC;AAEL,SAAS,EAAE,GAAG;IACb,OAAO,CAAC,KAAK,EAAE,CAAC;CAChB"}
trace.ts
// L
// O
// N
// G
function t1() {
t2();
}
// C
// O
// M
// M
function t2() {
t3();
}
// E
// N
// T
function t3() {
t4();
}
console.trace("T0");
t1();
function t4() {
console.trace();
}