I am using ent lib 2006 and I am using the logging and exception handling application blocks to log my errors.
The stack trace information is not displaying the line number where the error occured and this is very frustrating. This is an example of the stack trace
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object args)
at System.String.Format(IFormatProvider provider, String format, Object args)
at System.String.Format(String format, Object arg0) at SureTrack2.Server.TCPClientThread.Connect()
I have seen the line numbers before in the stack trace given by the enterprise libray. The only difference i can think of is that this is a multi-threaded application and and Connect is the method called when the thread is started. Could this be the reason
why? Is there any way i can get the line number?