System.Diagnostics.StackTrace() giving inconsistent results [modified]
-
I am using System.Diagnostics.StackTrace().GetFrame(1).GetMethod.Name and I am getting inconsistent results when I run this in debug mode versus release mode. For the debug mode it is working how I expect it to, but for the Release mode some of the functions are not shown in the StackTrace. I am using the 2.0 framework. Anyone have any idea what might be going on? Thanks in advance. -- modified at 10:52 Friday 25th August, 2006
Mike Lasseter
-
I am using System.Diagnostics.StackTrace().GetFrame(1).GetMethod.Name and I am getting inconsistent results when I run this in debug mode versus release mode. For the debug mode it is working how I expect it to, but for the Release mode some of the functions are not shown in the StackTrace. I am using the 2.0 framework. Anyone have any idea what might be going on? Thanks in advance. -- modified at 10:52 Friday 25th August, 2006
Mike Lasseter
Nevermind. I see that it is the way it intended to be.
Mike Lasseter