even setting it true, doesnt give you the line number.
on internet i found that something .pdb files should be there, in order to get line numbers.
please NT team, give us line numbers in StackTrace, to see where exatcly expection was caught.
try{ new throw Exception(); } catch (Exception e){ var trace = new System.Diagnostics.StackTrace(e, true); Print( trace.GetFrame( 0 ).GetFileLineNumber() ); // instead of 0, there might need to be (trace.FrameCount-1) }
Comment