You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Add ability for gauntlet to parse BP script callstack from error messages matching regex \[ScriptStack\]\s*.+
#rb jerome.delattre,andrew.grant [CL 28686064 by robert millar in ue5-main branch]
This commit is contained in:
@@ -838,9 +838,21 @@ namespace Gauntlet
|
||||
|
||||
LinesWithoutBacktrace = 0;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
LinesWithoutBacktrace++;
|
||||
// Callstack may be prefixed (or interspersed?) with callstack from blueprint script VM
|
||||
Match ScriptCSMatch = Regex.Match(Line, @"\[ScriptStack\]\s*(.+)$", RegexOptions.IgnoreCase);
|
||||
|
||||
if (ScriptCSMatch.Success)
|
||||
{
|
||||
string Stack = ScriptCSMatch.Groups[1];
|
||||
Backtrace.Add(Stack);
|
||||
LinesWithoutBacktrace = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
LinesWithoutBacktrace++;
|
||||
}
|
||||
}
|
||||
|
||||
SearchContent = SearchContent.Substring(EOL + 1);
|
||||
|
||||
Reference in New Issue
Block a user