简体   繁体   中英

What kind of programs can gdb be used to debug?

可以使用GDB调试C或C ++以外的其他语言的程序,例如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 !

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