2

Just out of curiosity and lack on prior knowledge wanted to know -- if the GDB on other IDEs is run in the same way as we run it on CS50's Cloud9 IDE? i.e. if they have a similar debugger button or is it exclusive CS50 to tone it down for beginners.

Thanks in advance!

1 Answer 1

3

Yes, other IDEs (e.g., Eclipse) have user interface for underlying, typically third-party, debuggers (e.g., GDB). This is probably not implemented exactly the same way it's implemented in the CS50 IDE (or Cloud9), but the general idea is probably the same.

That is, as the user interacts with the UI controls, provided by the IDE, the IDE communicates with a debugger underneath the hood through an API (e.g., issuing commands, and parsing the output, rendering it for you in a more familiar way.)

Read more on how debuggers are (or can be) implemented in the CS50 IDE (Cloud9!)

1
  • This was really helpful. Thank you. Dec 1, 2016 at 13:56

You must log in to answer this question.

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