【问题标题】:Raspberry Win 10 IoT Python PDB files not found未找到 Raspberry Win 10 IoT Python PDB 文件
【发布时间】:2016-10-14 22:47:41
【问题描述】:

我在尝试使用 VS2015 在调试模式下将一个简单的 Python 应用程序部署到我的 Raspberry PI3 时遇到了一些麻烦。 我收到以下警告错误,不知道如何解决。

'backgroundTaskHost.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. Cannot find or open the PDB file.
'backgroundTaskHost.exe' (Win32): Loaded 'U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\Test7VS.Debug_ARM.stan\pythonhome\dlls\_ptvsdhelper.pyd'. Cannot find or open the PDB file.
'backgroundTaskHost.exe' (Win32): Loaded 'C:\Windows\System32\nlaapi.dll'. Cannot find or open the PDB file.
'backgroundTaskHost.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. Cannot find or open the PDB file.
'backgroundTaskHost.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'backgroundTaskHost.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'backgroundTaskHost.exe' (Win32): Loaded 'C:\Windows\System32\wshbth.dll'. Cannot find or open the PDB file.
The program '[916] backgroundTaskHost.exe' has exited with code 0 (0x0).

有什么帮助吗?

【问题讨论】:

    标签: visual-studio-2015 raspberry-pi2 raspberry-pi3 windows-10-iot-core


    【解决方案1】:

    您的后台任务有一个退出代码“0x0”,表明它运行良好。

    警告错误不是问题,因为当您在调试模式下启动应用时,调试器会尝试查找调试符号文件(pdb 文件),而这些文件在您的调试符号路径中找不到。

    不要被此类警告所困扰。但是,如果你真的想摆脱它们,谷歌搜索如何连接 windows 内核调试符号服务器,并将其连接到 VS 或 windbg 中。

    尝试在你的 StartupTask.py 文件中设置一个断点,看看它是否真的可以命中。

    【讨论】:

      猜你喜欢
      • 2019-04-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-28
      • 2019-04-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多