我正在使用VS2008和My MFC应用程序在设置断点或运行到光标时已经开始崩溃.我收到很多这样的错误: –
First-chance exception at 0x78a5727c (mfc90ud.dll) in MyApp.exe: 0xC0000005: Access violation reading location 0xfffffffc. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000. First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
> 00000000() ntdll.dll!7c9032a8() [Frames below may be incorrect and/or missing,no symbols loaded for ntdll.dll] ntdll.dll!7c90327a() ntdll.dll!7c92aa0f() ntdll.dll!7c90e48a() ntdll.dll!7c9032a8()
我无法使用断点或单步执行代码来查找问题.如果在VS中使用F5运行,应用程序“似乎”正常运行.
什么是追踪此问题的最佳方法?