How to run and debug a C ++ application in Eclipse that started with a script?

I am trying to use Eclipse CDT to develop Ubuntu for C ++. I am working on a large C ++ project that uses Tcl as a scripting language to run and manage the application.

How to configure Eclipse to run the application using shell scripts, and not using the "main" application in C ++? Shell scripts launch the Tcl application, which in turn calls the C ++ application.

Also, is it possible to debug a C ++ application using Eclipse and gdb that were run through a script? If so, how to do it?

+3
source share
1 answer

. , Eclipse (gdb) , .

, - ? gdb gdb ? , 'remote' .

EDIT:

gdbserver localhost:1234 <executable>

Eclipse: - GDB - " GDB" ( "" Helios) - : TCP/IP: localhost, 1234

, .

+1

Source: https://habr.com/ru/post/1792551/


All Articles