I am using VS2010 to develop my project. In my code base, I use the stackframe GetFileLineNumber() function. However, at runtime, it always returns 0 . This happens even though I run a debug build. I also confirmed that the generated pdb file exists along with the generated executable.
Any ideas?
source share