We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd14c49 commit 5e300deCopy full SHA for 5e300de
tracer/test/Datadog.Trace.Tools.dd_dotnet.ArtifactTests/CreatedumpTests.cs
@@ -630,9 +630,15 @@ void ValidateStacktrace(JToken callstack)
630
631
foreach (var frame in frames)
632
{
633
- var moduleName = frame["function"].Value<string>().Split('!').First();
+ string moduleName = null;
634
635
- if (moduleName.Length > 0 && !moduleName.StartsWith("<") && Path.IsPathRooted(moduleName))
+ // we do not set the path for managed assemblies.
636
+ if (frame.ContainsKey("path"))
637
+ {
638
+ moduleName = frame["path"].Value<string>();
639
+ }
640
+
641
+ if (!string.IsNullOrEmpty(moduleName) && !moduleName.StartsWith("<") && Path.IsPathRooted(moduleName))
642
643
if (!validatedModules.Add(moduleName))
644
0 commit comments