Reputation: 1347
I'm learning C++ and using VS C++ 2008 Express.
I have a simple project with 2 code files. One is for my Class and the other is "_tmain()". My class file is using: template <typename T> code.
The program seems to run fine, but I can't step into my class file code in c++ view. I have to look at the assembly code.
I can step into _tmain() just fine, but when I try F11 to step into my class methods, there is "no source code available".
Any ideas on this one?
Thanks, M3NTA7
Upvotes: 0
Views: 902
Reputation: 98984
Maybe you just forgot to active debug information (happens if you create an empty project).
This can (at least in VS2005) be activated via the Projects Properties -> Configuration Properties -> Linker -> Generate Debug Info.
Upvotes: 3