can anyone help?
I try to get a full stack when in a try try..catch catch. It is currently truncated to only include the current method in which the error is ....
Let me explain .. Currently, my stack includes the "Third" method, where the error occurs, but First and Second are not included, I believe that this is by design.
private void First() { this.Second(); } private void Second() { this.Third(); } private void Third() { try { throw new SystemException("ERROR HERE!"); } catch (Exception ex) {
I saw a few tricks to get the full stack in STRING, but the problem is that my logging platform expects an object of type Exception, but my variable (ex), which has my exception, is valid, but the StackTrace property is truncated.
In any case, I can get a FULL exception with a FULL stacktrace, so I can still send on my "EX", but this time it will have a UNtruncated stacktrace.
The UnhandledErrror event seems to work, as if I am coming here, the Exception has a stack trace and is fully populated ...
I would really appreciate any feedback.
source share