我正在尝试调试我这样设置的程序:
(Native) C++ -> C++/CLI (as dll) -> C# (as dll)
我在Visual Studio中工作并在项目中激活混合调试模式。我还关闭了"启用我的代码" 选项并启用了"启用源服务器支持" 选项。我添加了dll项目的.pdb
个文件所在的文件夹到symbole路径。并且还启用了Microsoft Symbol Server
。
现在我能够达到我在两个dll项目的代码中设置的断点。但是,我无法使用"跳过"或者"进入",我可以前进到下一个断点。由于我想要进入System.Core.dll
的代码并且我不知道如何在之前设置断点,这是一个问题。
每次我尝试"跳过"或者"进入"我收到一条错误消息(德语),转换为:
Jumping not possible. The line separator (LS) is at a position that is
inconvienient for the requested action.
对于任何对此有帮助的人,这是德语原文:
Springen nicht möglich. Der Zeilenseparator (LS) ist an einer für den
angeforderten Vorgang ungünstigen Stelle.
这是什么意思?如何解决此问题并调试到System.Core.dll
?
我正在使用Visual Studio 2015,版本14.0.24720.00 Update 1在Windows 7上工作。