askeet
@askeet

Как сделать дамп памяти для отладки перед закрытием программы в Visual Studio C# 2010?

Есть некая сложная программа на языке C# которая при определенном поведении иногда закрывается без выхода в режим исключения, к сожалению понять в этом случае, почему так происходит не представляется возможным. В общем есть ли способы отладки .. дамп памяти или еще что для детального выяснения проблемы в отладчике?

В общем, получается, что каждый раз когда прохожу по шагам все нормально, иначе
во время вылета в окне Output debug пишется следующий лог в котором есть непонятная строчка

Critical error detected c0000374
Critical error detected c0000374


что это ?

The thread 'Win32 Thread' (0x31ec) has exited with code 0 (0x0).
'D_Project.exe': Loaded 'C:\Windows\System32\odbcjt32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjet40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mswstr10.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\odbcji32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjter40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjint40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mtxdm.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x58b4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x4084) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x6170) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1288) has exited with code 0 (0x0).
'D_Project.exe': Unloaded 'C:\Windows\System32\odbcjt32.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\odbcji32.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjter40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjint40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjet40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\mswstr10.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\mtxdm.dll'
'D_Project.exe': Loaded 'C:\Windows\System32\odbcjt32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjet40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mswstr10.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\odbcji32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjter40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjint40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mtxdm.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x386c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x23d4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x21f0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf20) has exited with code 0 (0x0).
'D_Project.exe': Unloaded 'C:\Windows\System32\odbcjt32.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\odbcji32.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjter40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjint40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjet40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\mswstr10.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\mtxdm.dll'
'D_Project.exe': Loaded 'C:\Windows\System32\odbcjt32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjet40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mswstr10.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\odbcji32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjter40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjint40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mtxdm.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x197c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x3100) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x6d08) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x66cc) has exited with code 0 (0x0).
'D_Project.exe': Unloaded 'C:\Windows\System32\odbcjt32.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\odbcji32.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjter40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjint40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjet40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\mswstr10.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\mtxdm.dll'
'D_Project.exe': Loaded 'C:\Windows\System32\odbcjt32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjet40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mswstr10.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\odbcji32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjter40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjint40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mtxdm.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x24b0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x5118) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x3058) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1314) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x3d74) has exited with code 0 (0x0).
'D_Project.exe': Unloaded 'C:\Windows\System32\odbcjt32.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\odbcji32.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjter40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjint40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\msjet40.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\mswstr10.dll'
'D_Project.exe': Unloaded 'C:\Windows\System32\mtxdm.dll'
'D_Project.exe': Loaded 'C:\Windows\System32\odbcjt32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjet40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mswstr10.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\odbcji32.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjter40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\msjint40.dll', Cannot find or open the PDB file
'D_Project.exe': Loaded 'C:\Windows\System32\mtxdm.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x3e88) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x458) has exited with code 0 (0x0).
<b>Critical error detected c0000374
Critical error detected c0000374</b>
The thread 'Win32 Thread' (0x65cc) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x54ac) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2cac) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x26bc) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x4720) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x3a04) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x3340) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x5cdc) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2f48) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x5ec4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x53d0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x665c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x4c18) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xb0c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2a40) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2918) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x6b90) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2878) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x13c8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x33f8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x4598) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x397c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2178) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1db8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x69d0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1c00) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2264) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x305c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x50c8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x459c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x41a8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1134) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x64d4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x69e0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x4f48) has exited with code 0 (0x0).
The program '[15064] D_Project.exe: Native' has exited with code 0 (0x0).
The program '[15064] D_Project.exe: Managed (v2.0.50727)' has exited with code 0 (0x0).
  • Вопрос задан
  • 3134 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы