Differences From Artifact [2d470e3c95d4cfbd]:
- File
d2stacktrace/stacktrace.d
- 2010-11-13 12:16:47 - part of checkin [5afe8e3f26] on branch trunk - Memoization on non "@v" layer. Now simplest metalevel computation works!! Also, added -l option. (user: kinaba) [annotate]
To Artifact [9e66870b7d120c42]:
- File
d2stacktrace/stacktrace.d
- 2010-11-20 09:20:03 - part of checkin [515502e8d1] on branch trunk - table get, init, ask expressions addded (user: kinaba) [annotate]
- 2010-11-21 14:24:33 - part of checkin [3995a5eb6a] on branch trunk - added iikagen pattern match (user: kinaba) [annotate]
353 if(isOK) 353 if(isOK)
354 lineStr ~= demangledName; 354 lineStr ~= demangledName;
355 355
356 DWORD zeichen = 0; 356 DWORD zeichen = 0;
357 if(Dbghelp.SymGetLineFromAddr64(hProcess 357 if(Dbghelp.SymGetLineFromAddr64(hProcess
358 char[] fileName = new char[strle 358 char[] fileName = new char[strle
359 fileName = std.path.basename( Li 359 fileName = std.path.basename( Li
360 lineStr = to!string(fileName ~ " | 360 lineStr = text(fileName ~ "::" ~
361 } 361 }
362 } 362 }
363 else { 363 else {
364 lineStr = to!string(cast(ulong)stackfram | 364 lineStr = text(cast(ulong)stackframe.Add
365 } 365 }
366 lineStr = to!string(frameNum-2) ~ " " ~ lineStr; | 366 lineStr = text(frameNum-2) ~ " " ~ lineStr;
367 if(frameNum-2 < 10) 367 if(frameNum-2 < 10)
368 lineStr = "0" ~ lineStr; 368 lineStr = "0" ~ lineStr;
369 if(frameNum >= 2) 369 if(frameNum >= 2)
370 stack.append(lineStr); 370 stack.append(lineStr);
371 } 371 }
372 } 372 }
373 373
374 free(Symbol); 374 free(Symbol);
375 return stack; 375 return stack;
376 } 376 }
377 }; 377 };
378 378