I'm trying to get DLL debugging to work and I'm having some weird issues.

When I'm tyring to "step into" the DLL method that is being called I get the following popup asking for the source of DateTime.cs. But the debugger should not look for these sources because it says this in the solution properties.

The code is like the following:

var a = ExternalDLLClass.MethodThatWorks(DateTime.Now);

The program itself works fine, but I don't understand this behaviour and it blocks my debugging.

1 Answers

Swapnil Vishwakarma On

I had a similar issue, I solved it by going to tools -> Options, go to Debugging and then "Enable just my code".