2

How can I use Eclipse to debug a (C/C++) console program running external from Eclipse? I'd like to click the Debug button to launch the external console (Cygwin shell in Windows; or Terminal in OS X) and break in main().

3 Answers3

1

If an alternative is fine, xxgdb should do most of what you need. And gdb, if you intend work from terminal. refer this article

Mahesh
  • 34,573
  • 20
  • 89
  • 115
1

You can attach your debug session to an external application:

Is it possible to attach a debugging session to a running program in eclipse CDT

Greetings

Community
  • 1
  • 1
xlarsx
  • 981
  • 1
  • 9
  • 8
1

LiveOutput.com

Not sure if this helps, but you can log messages to this website in a few lines of code (if your program has internet access). Its like a cloud based console.

AlBeebe
  • 8,101
  • 3
  • 51
  • 65