35 people like it.

Inspect middle of a pipeline in VS 2010 debugger

Put the code at some place and enable "Step Into Properties and Operators in Managed Code": http://msdn.microsoft.com/en-us/library/cc667388.aspx Now you should be able to step into the pipeline operator.

1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
[<AutoOpen>]
module AutoOpenModule

#if DEBUG
let (|>) value func =
  let result = func value
  result
#endif
Multiple items
type AutoOpenAttribute =
  inherit Attribute
  new : unit -> AutoOpenAttribute
  new : path:string -> AutoOpenAttribute
  member Path : string

Full name: Microsoft.FSharp.Core.AutoOpenAttribute

--------------------
new : unit -> AutoOpenAttribute
new : path:string -> AutoOpenAttribute
Raw view Test code New version

More information

Link:http://fssnip.net/2B
Posted:13 years ago
Author:Oldrich Svec
Tags: debug , pipeline