Can GDB be used to debug programs in languages other than C or C++, like Java?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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!