1

In the screenshot below, I have no "C GDB Debugging" runner option.

Screenshot

I tried to make my own runner for the debugger by following these steps, but when I try to run it I have the same issue as this person. All it says is "listening on port xxxxx".

1 Answer 1

3

CS50 has now released debug50 a more stable version than its predecessor. You can also manually use gdb through the command-line with; gdb OBJECT-FILE (where OBJECT-FILE is a vigenere.o, or just vigenere). Inside of which you can type r for run, n for next, c for continue, and b followed by a line number or function, such as b 50 (breaks line 50) or b foo (breaks the first line in the foo function). For more you can open gdb and then type help.

1
  • Thanks, debug50 is exactly what I wanted!
    – tamj0rd2
    Commented Sep 18, 2016 at 10:14

You must log in to answer this question.

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