开发者

using PDB, F11 steps into the code but F12 cannot browse it?

I am quite new to Visual Studio so don't know if I am doing something wrong or if this really is the way it is supposed to work.

In my "application" project, I am adding reference to a DLL, for which I have the sources. I add reference the the dll in a folder that also has the pdb file.

Now if I debug the application project I am able to step into (F11) the dll code and VS opens the correct .cs file. But if I am not debugging, pressing F12 only opens a ..[From Metadata] window.

Is there a way to browse the cod开发者_运维问答e when not debugging?


When you step-into the debugger uses the PDB file. When you press F12 Visual-Studio uses the Intellisense database which scans only files in the solution. Files you see as [From Metadata] are referenced but do not have the source in the solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜