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 Answers 3

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

Sign up to request clarification or add additional context in comments.

Comments

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

Comments

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.