is it possible to get more information about specific linq methods in the purepath? can we have it fill out the argument column with the actual query that was generated?
below is an example from one of my purpaths.
Select(System.Collections.Generic.IEnumerable`1<!!0>, System.Func`2<!!0,!!1>)
any help is greatly appreciated
Answer by Andreas G. ·
You can create a custom sensor for this method and capture the method argument. The simplest way to achieve this is to right-click on the method that you see right now in the PurePath. I assume it has a grey icon which indicates it is picked up by our Auto Sensors. When you right-click on it you can Include this method from being instrumented. You end up definiting a custom sensor for that method. In the Details of that Sensor Rule you can then specify to capture the method argument. So - to sum up
#1: Right Click -> Include Method to be instrumented
#2: double click on the new Method Sensor Rule in the System Profile Dialog (should automatically be opened after you say "Include Method")
#3: Check the "Capture" box next to the method argument you want to capture
#4: close the System Profile Dialog and restart your application
Andi
JANUARY 15, 3:00 PM GMT / 10:00 AM ET