开发者

What kind of programs can gdb be used to debug?

Can GDB 开发者_运维技巧be used to debug programs in languages other than C or C++, like Java?


GDB can debug a variety of file formats, but it doesn't support scripted languages (Perl, PHP, Python, etc) nor languages that run over a VM (Java, C#, etc). Nowadays it can even debug Java. It was made to debug native binaries like ELF, Mach-O, etc.

You can read the complete list of supported file formats on the official GDB documentation. Here!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜