launch external tool in debug mode [message #632111] |
Mon, 11 October 2010 15:28  |
Eclipse User |
|
|
|
Hi,
I just switched to eclipse helios for c++ dev on mac osx.
As a test I made a simple terminal application which uses ncurses.
I created an external tools configuration to launch the binary in the terminal (using the console for output fails for obvious reasons because of ncurses).
Now I want to debug, how can I setup the debug configuration to launch the application in terminal.
Thanks
|
|
|
|
Re: launch external tool in debug mode [message #632914 is a reply to message #632732] |
Thu, 14 October 2010 16:02   |
Eclipse User |
|
|
|
Hi,
Thanks for the reply.
I tried attaching the debugger to an xterm windows (which it does I think), but I'm not getting any output in the terminal, also eclipse gives me a "No source available" error with an option to "View Disassembly" and won't let me step through the code.
Although I followed the instructions and eclipse let's me pick the terminal from the list of processes, it doesn't really work.
What do other people use to debug applications?
I hope this doesn't mean that you can only debug simple applications that only use eclipse console?
|
|
|
Re: launch external tool in debug mode [message #633099 is a reply to message #632914] |
Fri, 15 October 2010 11:36  |
Eclipse User |
|
|
|
Quote: | Although I followed the instructions and eclipse let's me pick the terminal from the list of processes, it doesn't really work.
|
Then you did not follow the instructions. I just tried here and it did work as expected. You should debug your application as "Local C/C++ application" and not attach gdb to the terminal.
|
|
|
Powered by
FUDForum. Page generated in 0.03870 seconds