-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm making pretty heavy use of reflection in my current project to greatly simplify communication between my controllers and the wcf services. What I want to do now is to obtain a value from the Session within an object that has no direct access to HttpSessionStateBase (IE: Not a controller). For…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When my c++ app crashes I would like to generate a stacktrace.
I already asked this but I guess I needed to clarify my needs.
My app is being run by many different users and it also runs on Linux, Windows and Macintosh ( all versions are compiled using gcc ).
I would like my program to be able…
>>> More
-
as seen on Simple Talk
- Search for 'Simple Talk'
Our obfuscator, SmartAssembly, does some pretty crazy reflection. It's an obfuscator, it's sort of its job to do things in the most awkward way possible. But sometimes, you can go too far. One such time is this little gem from the strings encoding feature: StackTrace stackTrace = new StackTrace();
StackFrame…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am writing a Visual Studio add-in in C# which will run while I am debugging a process in the same Visual Studio window and I need access to that the process' stack trace from within my add-in. I tried putting this code into my add-in but it returns the add-in's stack trace, not the process I am…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am writing a Visual Studio add-in in C# and I need access to the currently running process' stack trace. I tried putting this code into my add-in but it returns the add-in's stack trace, not the process I am debugging.
System.Diagnostics.StackTrace stacktrace = new System.Diagnostics.StackTrace(true);
System…
>>> More