Uncheck

Tools\Options\Debugging\Enable Just My Code

That's what 'External Code' is. You're probably in FSharp.Core.dll.

Try putting a breakpoint on the printf line below, and debugging, and inspect the call stack with the above VS option checked and unchecked to see the difference.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 

let lol = [ [1;2;3]; [4;5;6]; [7;8;9] ]

let G x = 
    printfn "%d" x
    
let rec F l =
    match l with
    | [] -> ()
    | h::t -> 
        h |> List.iter G
        F t
                
F lol                

By on 3/18/2010 10:49 AM ()

I should have caught that- thanks.

Seems like a bizzare option to have on by default - I'd think anyone who is capable of debugging wants to see what's really going on, and then can be given the choice of a more succinct view.

Having "external" code collapsed in a tree I can see - or at least a tooltip on "external code" with the collapsed stack and a button to toggle the option - or a summary like, "External code (FSharp.Core.dll : List.Map)"

By on 3/18/2010 11:34 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper