c# - How to obtain the native stacktrace from native exceptions caught in managed code -


I have some managed code that calls a method within some native DLL (I have the appropriate symbol files)

Occasionally, that basic method throws an exception that I hold in my managed code. However, when I print the stacktrace with the exception of my holding, I see only the managed code (the last frame is called on the local code. But this does not appear to be the stacktrack inside the original code).

How can I get the original callstock?
* When I'm debugging the code, I am able to step in the original code, and I am looking at the active call stack. It is difficult to obtain the original steak trace as long as it passes through the .NET / Native Translation Layer, By then the original stack trace has already been lost.

Therefore, you still have to capture it in native code, and it is also very difficult to take a look at the work of John Robbins for proper original stack tracing; The latest publicly available version of my SUPERASSERT which I can get


Comments