I want to be able to step into the source code that is behind a 3rd party (not .Net framework) dll referenced in my own user code. I've done this before but can't now. When I try to step in, VS says there is no source available and would I like to go to disassembly.
我希望能够进入我自己的用户代码中引用的第三方(不是.Net框架)dll背后的源代码。我以前做过这个,但现在不能。当我试图介入时,VS说没有可用的源,我想去拆卸。
How do I get VS to ask me to link to the source code to step into?
如何让VS让我链接到源代码进入?
Cheers
2 个解决方案
#1
What you would need is the debug file (.pdb) of the assembly you want to step into.
您需要的是要插入的程序集的调试文件(.pdb)。
The debug file contains all the information about every line, every method, class and variable, but it does not guarantee that you would successfully be able to "step into" the actual 3rd party source code as originally developed.
调试文件包含有关每一行,每个方法,类和变量的所有信息,但它并不能保证您能够“步入”最初开发的实际第三方源代码。
#2
If you are talking about the framework source code, then this should help you:
如果您正在讨论框架源代码,那么这应该可以帮助您:
#1
What you would need is the debug file (.pdb) of the assembly you want to step into.
您需要的是要插入的程序集的调试文件(.pdb)。
The debug file contains all the information about every line, every method, class and variable, but it does not guarantee that you would successfully be able to "step into" the actual 3rd party source code as originally developed.
调试文件包含有关每一行,每个方法,类和变量的所有信息,但它并不能保证您能够“步入”最初开发的实际第三方源代码。
#2
If you are talking about the framework source code, then this should help you:
如果您正在讨论框架源代码,那么这应该可以帮助您: