Forum C# System.Environment.StackTrace

System.Environment.StackTrace

Postby mr_fiskers_fex » March 6th, 2014, 5:51 pm

Any chance we can whitelist this function? Very useful for debugging purposes. I've been using this workaround:

Code: Select all
                try
                {
                    int nothing = 0;
                    int something = 1 / nothing;
                }
                catch (Exception err)
                {
                    ErrorLog.WriteError(err.StackTrace);
                }

...but it would be nice if we could do it the easy way. :D
mr_fiskers_fex
Paid Member
 
Posts: 67
Joined: September 16th, 2012, 4:35 am

Return to C#



cron