문제

I know it's possible to publish our source/symbols to a symbol server, or use something like SymbolSource.org to allow us to step into the code when we are referencing a DLL.

But I have found no way to access this same code when we are not in a debug session.

SymbolSource.org has a demo calculator app that looks like this:

var c = new SimpleCalculator();
Console.WriteLine(c.Add(1, 2));

When I'm debugging, I can easily step into Add() and see the source code, but when I'm just looking at the code there is no way to do this.

I'm guessing for some reason this isn't possible b/c it would be very helpful and I don't see anyone talking about how it can be done.

도움이 되었습니까?

해결책

One way of doing this is with JetBrain's ReSharper. It allows you to ctrl+click navigate into sources provided by a symbol server like SymbolSource or Microsoft Reference Source.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top