Visual Studio 2011 / Windows 8 - StackFrame GetFileLineNumber() returns 0

by Administrator 17. December 2011 05:18

I wanted to add line number support to logging for my http://SolrContrib.CodePlex.com project (developing on Visual Studio 2011 / Windows 8 developer preview) and found it was not available.

In researching the topic I found this is not necessarily specific to VS2011 but according to Scott Hanselman (following link) it should be working so that was good enough for me to report it as a bug.
http://www.hanselman.com/blog/SairamasInterestingCodeOfTheDayPrintingLineNumbersWhileDebuggingC.aspx
 

 

LINK: https://connect.microsoft.com/VisualStudio/feedback/details/714453/stackframe-getfilelinenumber-returns-0-in-debug

Tags: