visual-studiodebuggingvisual-studio-2012visual-studio-2013crash-dumps

Debug With Mixed vs Debug with Native Only when debugging dump files


When I open a dump file, in VS2012, I see two options for debugging: Debug with Mixed and Debug with Native Only. I am wondering what these two options mean, and what the differences are between them.

I tried searching Google for documentation/etc. but could not find anything on these two options, and the closest that I came was finding a few posts where people said they used Debug with Mixed but didn't say why, and one post that noted that Debug with Native Only displays only for .NET 4.0.


Solution

  • Whether you choose Debug with Native Only or Debug with Mixed or Debug Managed Memory, depends on what your dump file is of.

    1. Debug with Native Only: For native apps (it will allow you to see the callstack and source code from the native part of the app),

    2. Debug with Mixed: Allows you to see the managed source code part as well.

    3. Debug Managed Memory: Useful for debugging memory problems in managed code

    Some links that might prove useful: