0

I'm trying to debug some C code, and the Dubugging feature built into IDE50/Cloud9 doesn't seem to work with C.

Is there a way for me to perform common debugging tasks in IDE50 like add breakpoints, watch expressions, or run simple functions in an immediate window? If so, how?

If not, is there a recommended way to narrow down issues in multi-line programs and/or or test individual parts?

I've used the built-in debugging tools in (pre-.NET) VB6/VBA and SQL Server Management Studio before, and I found them to be very helpful.

FYI, I looked around for an answer to my questions, but I couldn't find any. I also played around a little bit with some free IDEs for Mac OS, but I couldn't figure out how to use them. A little over my head. :-P

1 Answer 1

1

debug50 is the right tool. To set a breakpoint in your source (before running debug50), click in the gutter to the left of the line number and a 🔴 will appear.

enter image description here

1
  • Ah, that seems to work! (I see it is covered in Week 2, but I'm still working on Week 1, thus didn't encounter it yet.) Commented Apr 28, 2017 at 14:50

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.