Вопрос

I have Visual Studio 2010 Express and I have a program that doesn't work very well. I would want to make a stack trace with Windbg,but I don't know the steps I have to do. Thank you. Regards, Fran

Это было полезно?

Решение

To get a native stack trace in WinDbg you issue the k command. To get a managed stack trace in WinDbg you issue the !clrstack command, but you first need to load up the correct managed runtime binaries and debugger extension, to do so, run this command as a shortcut: !analyze –v (See this article for details about what it is doing).

Also be aware that there are different versions of WinDbg for each processor architecture. If your compiled EXE is for x86, use the x86 version of WinDbg, and likewise for x64 builds.

References

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top