Monday, March 2, 2015

Is it possible to obtain line numbers in the stack trace of an exception

Is it possible for e.StackTrace in the following code to contain line numbers?


try
{
...
}
catch(Exception e)
{
LogStackTrace("Stack Trace:" + e.StackTrace);
}





Hong


No comments:

Post a Comment