0

The error message: Can't debug this program! Are you sure you compiled it with -ggdb? I am using CS50 to debug my C++ program, but after typing "debug50 ./(program name)", it showed the above error message. How can I compile it with ggdb instead of g?

1 Answer 1

0

My understanding is that debug50 only works with C, not C++. But if you run with -gddb, then you might be able to use gdb to debug.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .