question

huanwang-6612 avatar image
0 Votes"
huanwang-6612 asked DylanZhu-MSFT commented

python *.pyd+*.pdb+dumpfile,can not load symbols。

I used vs2015 to build a paddle_pybind.dll and vc140.pdb,and renamed paddle_pybind.dll to core_avx.pyd。
Then,I used python call core_avx.pyd。When the program crashed, I generate a dump file paddle.dmp。
Then,I opened paddle.dmp(used vs2015), and "Debug whit Native Only". And tried to load symbols,but faild.
I tried rename vc140.pdb to core_avx.pdb、paddle_pybind.pdb, but faild。
Can you tell me,what should I do? Thx!
15746-%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87-20200805170645.png


vs-debugging
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

VS debugger only loads .pdb files that exactly match the .pdb files created when an app was built (that is, the original .pdb files or copies). This exact duplication is necessary because the layout of apps can change even if the code itself has not changed. So, we suggest you need to rebuild your project with new name and don't modify the the name of pdb file. For more information, please refer to: Specify symbol (.pdb) and source files in the Visual Studio debugger


0 Votes 0 ·

Hi @huanwang-6612 ,

Is my reply helpful for you? If you have other questions about this thread, please feel free to contact us.

Best Regards,
Dylan

0 Votes 0 ·

0 Answers