Mixed Code and Missing Information in the Call Stack Window
This topic applies to:
Visual Studio Edition |
Visual Basic |
C# |
C++ |
J# |
Web Dev |
Express Edition |
No |
Yes |
Yes |
Yes |
Yes |
Standard Edition |
Yes |
Yes |
Yes |
Yes |
Yes |
Pro/Team Edition |
Yes |
Yes |
Yes |
Yes |
Yes |
Because of differences between call stacks for managed and native code, the debugger cannot always show the complete call stack when the code types mix. When native code calls managed code, you may notice the following discrepancies in the Call Stack window:
The native frame immediately above the managed code may be missing from the Call Stack window. For more information, see How to: Step out of Managed Code when Native Frames are Missing from the Call Stack Window.
For mixed-mode applications launched outside the debugger, the Call Stack window may display only the managed code and none of the native frames will be visible.
Both cases are fairly rare. In most native calls to managed code, call stacks appear correctly.