You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* bugzilla 13342: mixin error message now interpreted
* when running/unittesting from within visuald, exception/callstack locations can be jumped to
* bugzilla 13213: there are now both "goto definition" and "goto declaration", where the former
will try to find the forward declared symbols through the object browser (including C/C++)
* object browser/symbol search: now filters out __unittest and __invariant symbols
@@ -1094,6 +1131,22 @@ bool parseOutputStringForTaskItem(string outputLine, out uint nPriority,
1094
1131
returntrue;
1095
1132
}
1096
1133
1134
+
// entry in exception call stack
1135
+
if(!isInitializedRE(re6))
1136
+
re6 = regex(r"^0x[0-9a-fA-F]* in .* at (.*?)\(([0-9]+)\)(.*)$");
1137
+
1138
+
rematch = match(outputLine, re6);
1139
+
if(!rematch.empty())
1140
+
{
1141
+
auto captures = rematch.captures();
1142
+
nPriority = TP_LOW;
1143
+
filename = replace(captures[1], "\\\\", "\\");
1144
+
string lineno = captures[2];
1145
+
nLineNum = to!uint(lineno);
1146
+
itemText = strip(captures[3]);
1147
+
returntrue;
1148
+
}
1149
+
1097
1150
returnfalse;
1098
1151
}
1099
1152
@@ -1107,11 +1160,33 @@ unittest
1107
1160
assert(nLineNum ==37);
1108
1161
assert(strTaskItemText =="huhu");
1109
1162
1110
-
rc = parseOutputStringForTaskItem("main.d(10): Error: undefined identifier A, did you mean B?", nPriority, strFilename, nLineNum, strTaskItemText, Compiler.DMD);
1163
+
rc = parseOutputStringForTaskItem("main.d(10): Error: undefined identifier A, did you mean B?",
0 commit comments