Loaded c windows syswow64 ntdll dll cannot find or open the pdb file

Не удается найти или открыть файл PDB в Visual Studio C ++ 2010

Я использую Visual Studio 2010 C ++, и мой проект собирается без ошибок, но когда я запускаю его, я получаю это. Я на Windows XP.

Решение

PDB — это файл отладочной информации, используемый Visual Studio. Это системные библиотеки DLL, для которых у вас нет символов отладки. Идти к Tools-> Options-> Debugging-> Символы и установите флажок «Серверы Microsoft Symbol», Visual Studio автоматически загрузит PDB. Или вы можете просто игнорировать эти предупреждения, если вам не нужно видеть правильный стек вызовов в этих модулях.

Другие решения

Работаю с VS 2013.
Попробуйте следующие Инструменты -> Параметры -> Отладка -> Окно вывода -> Сообщения о загрузке модуля -> Выкл.

Это отключит отображение загруженных модулей.

Ответ Павла верен, я просто выкладываю визуальный элемент, чтобы легко туда добраться.

Перейдите в Инструменты-> Параметры-> Отладка-> Символы

Установите флажок, помеченный красным, и он загрузит файлы pdb от Microsoft. Когда вы устанавливаете флажок, он также устанавливает путь по умолчанию для файлов pdb в поле редактирования под, вам не нужно его менять.

Если у вас есть более одного проекта в вашей карте проекта, используйте ЖЕ ЖЕ жестко закодированное имя PathFile PDB во всех ваших подпроектах:

Не используйте, например,

во всех подпроектах .

= Компилятор Param / Fd

Это также может произойти, если у вас нет изменять разрешения для каталога кэша символов, настроенного в меню Инструменты, Параметры, Отладка, Символы.

Вы просто добавляете путь .pdb в рабочую директорию VS!

‘cannot find or open the pdb file’ Visual Studio C++ 2013

I just downloaded VS 2013 Community Edition and I wrote my first app. When I run it it shows in the output section:

Читайте также:  Windows 10 смена раскладки клавиатуры alt shift справа

What is the problem? I checked my code on many sites so I know that the problem is not in my code. Can anyone help me?

6 Answers 6

Try go to Tools->Options->Debugging->Symbols and select checkbox «Microsoft Symbol Servers», Visual Studio will download PDBs automatically.

PDB is a debug information file used by Visual Studio. These are system DLLs, which you don’t have debug symbols for.[. ]

No problem. You’re running your code under the debugger, and the debugger is telling you that it doesn’t have debugging information for the system libraries.

If you really need that (usually for stack traces), you can download it from Microsoft’s symbol servers, but for now you don’t need to worry.

Working with VS 2013. Try the following

Tools -> Options -> Debugging -> Output Window -> Module Load Messages -> Off

It will disable the display of modules loaded.

It worked for me. Go to Tools-> Options -> Debugger -> Native and check the Load DLL exports. Hope this helps

There are no problems here this is perfectly normal — it shows informational messages about what debug-info was loaded (and which wasn’t) and also that your program executed and exited normally — a zero return code means success.

If you don’t see anything on the screen thry running your program with CTRL-F5 instead of just F5.

A bit late but I thought I’d share in case it helps anyone: what is most likely the problem is simply that your Debug Console (the command line window that opens when run your project if it is a Windows Console Application ) is still open from the last time you ran the code. Just close that window, then rebuild and run: Ctrl + B and F5 , respectively.

Visual Studio 2013: “Cannot find or open the PDB file”

I’m just starting out and my first time trying to run «hello world» gave me this.

‘Project2.exe’ (Win32): Loaded ‘C:\Users\Dustin\Documents\Visual Studio 2013\Projects\Project2\Debug\Project2.exe’. Symbols loaded.

‘Project2.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\ntdll.dll’. Cannot find or open the PDB file.

Читайте также:  Сервер linux рабочая станция windows

‘Project2.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\kernel32.dll’. Cannot find or open the PDB file.

‘Project2.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\KernelBase.dll’. Cannot find or open the PDB file.

‘Project2.exe’ (Win32): Loaded ‘C:\Program Files\Bitdefender\Bitdefender\active virus control\Avc3_00261_012\avcuf32.dll’. Cannot find or open the PDB file.

‘Project2.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\msvcr120d.dll’. Cannot find or open the PDB file.

The program ‘[3140] Project2.exe’ has exited with code 0 (0x0).

Can anyone help me figure our where these pdb files are and how to fix this?

4 Answers 4

*.pdb files are generated for debugging purposes when a DLL library module is built. They contain the symbols and offsets for the various binary elements within the DLL.

When you start a debugging session, the IDE will attempt to find the *.pdb file that is associated with every DLL that is loaded at runtime. If it cannot find the associated *.pdb file (with the same name. ex. kernel.dll & kernel.pdb) it will render the message above: «Cannot find or open the PDB file.»

What this message implies is that you will not have any symbolic debugging ability for anything going on within that DLL. The DLL that is loaded will function normally and is not affected.

The pdb files for system libraries should be installed on your system or can be obtained from Microsoft. Other vendor’s dll that are loaded for whatever reason most likely will not come with the pdb files so you must simply ignore the warning.

The pdb file for something you are working on will be automatically generated by default.

If you go to the VisualStudio menu TOOLS:Debugging:Symbols there is a dialogue box for managing the PDB file locations and such.

Не работает отладчик в VS-2010

При создании пустого консольного проекта выдаёт ошибки :

‘rtr.exe’: Loaded ‘C:\Users\Admin\Documents\Visual Studio 2010\Projects\rtr\Release\rtr.exe’, Symbols loaded.
‘rtr.exe’: Loaded ‘C:\Windows\SysWOW64\ntdll.dll’, Cannot find or open the PDB file
‘rtr.exe’: Loaded ‘C:\Windows\SysWOW64\kernel32.dll’, Cannot find or open the PDB file
‘rtr.exe’: Loaded ‘C:\Windows\SysWOW64\KernelBase.dll’, Cannot find or open the PDB file
‘rtr.exe’: Loaded ‘C:\Windows\SysWOW64\msvcp100.dll’, Symbols loaded.
‘rtr.exe’: Loaded ‘C:\Windows\SysWOW64\msvcr100.dll’, Symbols loaded.
The program ‘[2812] rtr.exe: Native’ has exited with code 0 (0x0).

Читайте также:  Marvel 911xx config ata device windows 10 что это

Но код компилируется .
В режиме без отладки всё работает .
В чём проблема, если указанные системные файлы присутствуют в каталоге ?
Переустановка VS не помогла. Ставил на разные машины, менял дистрибутив — не помогает!

Отладчик VS 2010 — Как отследить программное изменение значения переменной
Подскажите как в отладчике Visual Studio отследить в каких местах кода меняется нужное значение.

Не работает отладчик
может кто сталкивался с такой фигней.стоит виста.не хочет запускаться отладчик td,хотя еще пару.

Не работает отладчик
Доброй ночи! у меня беда с отладчиком сначала выдавал такую вещь: предпочтительный отладчик.

Не работает отладчик
Добрый вечер! 🙂 Пытаюсь начать работу с NetBeans. Все установила, компилятор работает, но при.

Не загружаются PDB файлы , необходимые для отладки, после этого консоль сворачивается без моего участия.

‘rtr.exe’: Loaded ‘C:\Windows\SysWOW64\ntdll.dll’, Cannot find or open the PDB file

Добавлено через 2 минуты
Как это исправить ?

Loaded c windows syswow64 ntdll dll cannot find or open the pdb file

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

I just installed visual studio 2010 beta 2 on my machine (windows 7).

I try to run a very basic and short C++ «Win32 Console Application» project. The program runs and prints results, however, i got these messages on the output window:

‘training.exe’: Loaded ‘G:\Users\chengtie\Documents\Visual Studio 2010\Projects\training\Debug\training.exe’, Symbols loaded.
‘training.exe’: Loaded ‘C:\Windows\SysWOW64\ntdll.dll’, Cannot find or open the PDB file
‘training.exe’: Loaded ‘C:\Windows\SysWOW64\kernel32.dll’, Cannot find or open the PDB file
‘training.exe’: Loaded ‘C:\Windows\SysWOW64\KernelBase.dll’, Cannot find or open the PDB file
‘training.exe’: Loaded ‘C:\Windows\SysWOW64\msvcp100d.dll’, Symbols loaded.
‘training.exe’: Loaded ‘C:\Windows\SysWOW64\msvcr100d.dll’, Symbols loaded.
The program ‘[2244] training.exe: Native’ has exited with code 0 (0x0).

Does anyone knows if the messages «Cannot find or open the PDB file» are nomal? Is there a way to avoid them?

Оцените статью