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 353 if(isOK)
354 354 lineStr ~= demangledName;
355 355
356 356 DWORD zeichen = 0;
357 357 if(Dbghelp.SymGetLineFromAddr64(hProcess,stackframe.AddrPC.Offset,&zeichen,&Line) == TRUE){
358 358 char[] fileName = new char[strlen(Line.FileName)];
359 359 fileName = std.path.basename( Line.FileName[0..fileName.length] );
360 - lineStr = to!string(fileName ~ "::" ~ to!string(Line.LineNumber) ~ "(" ~ to!string(zeichen) ~ ") " ~ lineStr);
360 + lineStr = text(fileName ~ "::" ~ text(Line.LineNumber) ~ "(" ~ text(zeichen) ~ ") " ~ lineStr);
361 361 }
362 362 }
363 363 else {
364 - lineStr = to!string(cast(ulong)stackframe.AddrPC.Offset);
364 + lineStr = text(cast(ulong)stackframe.AddrPC.Offset);
365 365 }
366 - lineStr = to!string(frameNum-2) ~ " " ~ lineStr;
366 + lineStr = text(frameNum-2) ~ " " ~ lineStr;
367 367 if(frameNum-2 < 10)
368 368 lineStr = "0" ~ lineStr;
369 369 if(frameNum >= 2)
370 370 stack.append(lineStr);
371 371 }
372 372 }
373 373
374 374 free(Symbol);
375 375 return stack;
376 376 }
377 377 };
378 378