John Denver
John Denver

Reputation: 362

Cloud9 C++ Breakpoints

Edit: I tried using the breakpoints built into the editor on a very simple program and it works. So it's possible my code (used a good deal of the instance's memory) plus the debugger was too much for the nano instance.

I've been using gdb on the command line for debugging and breakpoints. But it looks like Cloud9 has a nice built-in debugger.

Adding a breakpoint and running the C++ in "debug" mode, yields the following:

enter image description here

Has anyone been able to use breakpoints and the visual debugger in cloud9 for c++?

I've tried writing a few custom runners for valgrind, etc. But this is using the standard c++ runner.

Thank you!

Upvotes: 1

Views: 408

Answers (1)

Andrei Nestser
Andrei Nestser

Reputation: 374

Seems like your code compiled without -ggdb3 option as warning in output says.

Could you try to remove your objects files as it suggests and run file again?

It worked for me on simple Hello World example

Upvotes: 1

Related Questions