When debugging a project line-by-line in Visual Studio, you may receive this error:
Step into: Stepping over method without symbols ‘namespace’
This error occurs when you attempt to debug a DLL or EXE that is lacking a symbols (.pdb) file.
Check the project’s binDebug folder to ensure the DLL/EXE in question has a corresponding pdb file. If not, be sure to build the DLL/EXE with its project configuration set to “Debug” so that it will generate a pdb file.
If the problem occurs with a third-party library, you may be out of luck because most third-party libraries do not include a pdb file, and therefore you cannot debug into them.
A StackOverflow article says this error may also occur if you attempt to debug a yield expression in a method that returns an IEnumerable, though I have not confirmed this.
Ran into this exact situation because of a yield statement within the method. When I added test code using a List to force immediated execution, the code stepped into the method as expected. See actual example below.
A StackOverflow article says this error may also occur if you attempt to debug a yield expression in a method that returns an IEnumerable, though I have not confirmed this.
Stepping over method without symbols – How to step into?
http://stackoverflow.com/questions/1495720/stepping-over-method-without-symbols-how-to-step-into/2644677#2644677
Actual example:
// Code would not step into ReadData method because it had yield statement contained within it. IEnumerable ie = ReadData(fileName, null, fileDescription);
// For testing, added following line to force immediate evaluation as noted above.
// Code then stepped into the method as desired. List list = ReadData(fileName, null, fileDescription).ToList();
I am having the above described issue, my DLLs have a corresponding pdb file and I am not using IEnumerable in any of my DLL code