+1
Under review

LINQ Analyzer not evaluating

arruda 2 months ago • updated by Leo Omri Finkelstein (Support Engineer) 2 months ago 3

VS 2017 + .NET Core 2.1

Trying to analyze a linq expression but doesn't work properly.

Find log below:

2018-10-10 13:24:15,909 [1] WARN BugAidLogger - Evaluation failed - error flags were: _propertyInfo.dwAttrib: DBG_ATTRIB_VALUE_READONLY, DBG_ATTRIB_VALUE_ERROR, _propertyInfo.dwFields: DEBUGPROP110_INFO_NAME, DEBUGPROP110_INFO_VALUE, DEBUGPROP110_INFO_ATTRIB, DEBUGPROP110_INFO_PROP Value: error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.-+-+-
2018-10-10 13:24:15,909 [1] INFO BugAidLogger - Spent 00:00:00.03 doing Evaluating P_F_A.FlowTracer.FormatIndexes(P_F_A.FlowTracer.ClearAll(), () => P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Where(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Where(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperatorWithFunc(() => numbers, 0, false),n=>new{n,isEven=n % 2 == 0}), 1, false),t=>new{t,isOdd=!t.isEven}), 2, false),t=>new{t,isMultipleOfFive=t.t.n % 5 == 0}), 3, false),t=>t.t.isOdd && t.isMultipleOfFive), 4, false),t=>t.t.t.n), 5, false),multiplesOfFiveAndOdd=>multiplesOfFiveAndOdd % 15 == 0), 6, false),multiplesOfFiveAndOdd=>multiplesOfFiveAndOdd), 7, false)) ,nse-+-+-
2018-10-10 13:24:15,912 [1] WARN BugAidLogger - Failed to evaluate LINQ trace method:
P_F_A.FlowTracer.FormatIndexes(P_F_A.FlowTracer.ClearAll(), () => P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Where(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Where(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperator(global::System.Linq.Enumerable.Select(P_F_A.FlowTracer.TraceOperatorWithFunc(() => numbers, 0, false),n=>new{n,isEven=n % 2 == 0
}), 1, false),t=>new{t,isOdd=!t.isEven
}), 2, false),t=>new{t,isMultipleOfFive=t.t.n % 5 == 0
}), 3, false),t=>t.t.isOdd && t.isMultipleOfFive
), 4, false),t=>t.t.t.n
), 5, false),multiplesOfFiveAndOdd=>multiplesOfFiveAndOdd % 15 == 0
), 6, false),multiplesOfFiveAndOdd=>multiplesOfFiveAndOdd), 7, false))
Error Message:
error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.-+-+-
2018-10-10 13:24:15,914 [1] ERROR BugAidLogger - Exception occurred: DebuggerShared.Helpers.Exceptions.OzCodeException: Error while getting Fluent trace results from debuggee.
error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ---> System.Exception: Exception of type 'System.Exception' was thrown.
--- End of inner exception stack trace ---
at DebuggerShared.Services.ErrorNotification.ErrorNotificationLogger.LogErrorWithoutShowingErrorNotificationUI(String errorMessage, Exception exception)

Under review

We're sorry that you've ran into an issue with OzCode. 

OzCode LINQ Debugging currently doesn't support NET Core 2.1 but we will have a new version with proper support very shortly.

Thanks for the feedback Leo.

Is there a roadmap for that?

Sure, glad we could help.

We intend to release the supporting version in November.