简体   繁体   中英

Debugging Intel C++ compiled code with GDB

I was trying to debug C++ code which I compiled with Intel C++. I tried very small Test Program. I compiled with "/Zi" option, I see that *.pdb files is generated but gdb does not show any debug symbol. Even I am not able to break at main() function.

In the forum people mentioned about "idb" debugger for intel. But I do not find it in my Installation area. I have Intel composer edition on one machine and Professional Addition on other. Both places I do not find "idb".

Could anyone suggest any method using which I could debug the code which is compiled with Intel C++.

I see that *.pdb files is generated but gdb does not show any debug symbol.

Until very recently, the PDB format was completely undocumented and proprietary.

GDB never supported it, and is somewhat unlikely to do that in the future (most GDB developers aren't interested in Windows, and most Windows developers aren't interested in GDB).

Could anyone suggest any method using which I could debug the code which is compiled with Intel C++.

If Intel did a good job of emitting the PDB info, you should be able to use the standard Windows debuggers: VisualStudio or windbg .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM