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
yieldreturnnewValidationError(true,$"{nameof(DisassemblyDiagnoser)} supports only .NET Core 3.0+",benchmark);
121
+
}
122
+
123
+
if(ptrace_scope.Value=="2")
124
+
{
125
+
yieldreturnnewValidationError(false,$"ptrace_scope is set to 2, {nameof(DisassemblyDiagnoser)} is going to work only if you run as sudo");
126
+
}
127
+
elseif(ptrace_scope.Value=="3")
128
+
{
129
+
yieldreturnnewValidationError(true,$"ptrace_scope is set to 3, {nameof(DisassemblyDiagnoser)} is not going to work");
130
+
}
124
131
}
125
-
elseif(ptrace_scope.Value=="3")
132
+
// when we add macOS support, RuntimeInformation.IsMacOS() needs to be added here
133
+
elseif(!RuntimeInformation.IsWindows())
126
134
{
127
-
yieldreturnnewValidationError(true,$"ptrace_scope is set to 3, {nameof(DisassemblyDiagnoser)} is not going to work");
135
+
yieldreturnnewValidationError(true,$"Only Windows and Linux are supported in DisassemblyDiagnoser without Mono. Current OS is {System.Runtime.InteropServices.RuntimeInformation.OSDescription}");
0 commit comments