在抛出异常时,会有一个应用程序的小型转储。它独立于Visual Studio 2013和WinDbg。这两个工具都配置为正确加载调试符号。实际上所有线程的调用堆栈,但主线程都显示相同。
问题出在主线程上,抛出了异常。
Visual Studio 2013正确显示为
KERNELBASE.dll!_RaiseException@16() + 0x58 bytes
msvcr120.dll!_CxxThrowException(void * pExceptionObject, const _s__ThrowInfo * pThrowInfo) Line 152 + 0x13 bytes C++
AlignUtils.dll!genPresume(int i_line, const char * i_file, const char * i_expr) Line 17 + 0x30 bytes C++
FiPosShared.dll!FiPosShared_NS::InclinationFunction::fix(const Math_NS::RigidTransform<double> & toothXform, double targetAngle) Line 68 + 0x1db bytes C++
FiPosShared.dll!FiPosShared_NS::InclinationFunction::dTorque_dInclination(const Math_NS::RigidTransform<double> & i_param, const Math_NS::RigidTransform<double> & i_base) Line 88 + 0x33 bytes C++
kernel32.dll!_HeapFree@12() + 0x14 bytes
msvcr120.dll!free(void * pBlock) Line 51 C
00000005()
...
但WinDbg显示的内容完全不同:
ntdll!NtGetContextThread+0x12
KERNELBASE!CloseHandle+0x2d
kernel32!CloseHandleImplementation+0x3f
dbghelp!Win32LiveSystemProvider::OpenMapping+0x1fe
0xd100000
ntdll!RtlpFreeHeap+0xbb1
ntdll!RtlFreeHeap+0x142
KERNELBASE!CloseHandle+0x2d
atiadlxy+0x10004
0x24548dc9
0x15ff6404
你知道出了什么问题以及如何让WinDbg显示主线程的相同调用堆栈吗?
由于