In my solution of VS2010, a C# app project references a F# library project.
When a NullReferenceException is thrown from F# lib, the debugger cannot find the point exception thrown. It just says 'No Source Available'.
Should I change some options or this is a limitation of VS2010?
I added some example code:
F# project 'Library1'
module Module1
type AA() =
let _a = "xx"
member x.a = _a
let aa:AA option = None
let b() =
aa.Value.a // null reference occurs here
C# project 'ConsoleApp1'
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.Out.Write(Module1.b());
Console.In.Read();
}
}
}