diff org.eclipse.tools/Sleak/org/eclipse/swt/tools/internal/Sleak.d @ 60:66be6a990713

new eclipsetools target, fix of new exception stacktrace info.
author Frank Benoit <benoit@tionex.de>
date Mon, 30 Mar 2009 14:46:59 +0200
parents 6f068362a363
children
line wrap: on
line diff
--- a/org.eclipse.tools/Sleak/org/eclipse/swt/tools/internal/Sleak.d	Mon Mar 30 12:09:37 2009 +0200
+++ b/org.eclipse.tools/Sleak/org/eclipse/swt/tools/internal/Sleak.d	Mon Mar 30 14:46:59 2009 +0200
@@ -233,8 +233,8 @@
     if (index is -1) return;
     if (check.getSelection ()) {
         char[] txt = "Stacktrace info (if missing you need stacktrace support for your program):\n";
-        foreach( line; errors[index].info ){
-            txt ~= line ~ \n;
+        foreach( frame; errors[index].info ){
+            txt ~= Format("{}:{}\n", frame.file, frame.line );
         }
         text.setText (txt);
         text.setVisible (true);