I am trying to debug my program which is set up like this:
(Native) C++ -> C++/CLI (as dll) -> C# (as dll)
I work in Visual Studio and activated mixed debugging mode in the projects. I also turned off the "Enable Just My Code" option and turned on the "Enable Source Server Support" option. I added the folders in which the .pdb
files of the dll projects reside to the symbole paths. And also enabled the Microsoft Symbol Server
there.
Now I am able to reach breakpoints which I set in the code of the two dll projects. However, I am not able to use "step over" or "step into", I can just move forward to the next breakpoint. Since I want to step into the code of the System.Core.dll
and I don't know of any way to set a breakpoint there beforehands, this is a problem.
Every time I try "step over" or "step into" I get an error message (in german) which translates to:
Jumping not possible. The line separator (LS) is at a position that is
inconvienient for the requested action.
For any whom this could be helpful to, here is the original phrasing in german:
Springen nicht möglich. Der Zeilenseparator (LS) ist an einer für den
angeforderten Vorgang ungünstigen Stelle.
What does that mean? How can I resolve this problem and debug into the System.Core.dll
?
I am working on Windows 7 with Visual Studio 2015, Version 14.0.24720.00 Update 1.