Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem with Debugging a Remote Application
Problem with Debugging a Remote Application [message #1819503] Thu, 16 January 2020 07:13 Go to next message
Eclipse UserFriend
Hello,

I want to debug a remote application. I created the debug configuration programmatically and it picks up every single attribute, including the port and the hostname.

The only problem is the fact that I can only run this configuration by click Debug Configurations... and then selecting it from the list and pressing debug.

If I want to run it in any other way (from the CDT Checkbox for example), it does not work. It gives me a message: Failed to execute MI command:
-exec-run

Does anybody know why?

Thank you!
Re: Problem with Debugging a Remote Application [message #1819504 is a reply to message #1819503] Thu, 16 January 2020 07:19 Go to previous messageGo to next message
Eclipse UserFriend
So, after searching the configuration, I managed to find the cause of the problem. Apparently, in the Common tab of the configuration (if clicked from the Combobox settings), the part called Display in favorites menu which contains Debug and Run has nothing checked. If I check the Debug, it works. Does anybody know how to do that programmatically?
Re: Problem with Debugging a Remote Application [message #1819515 is a reply to message #1819504] Thu, 16 January 2020 10:48 Go to previous message
Eclipse UserFriend
Maybe you've uncovered a bug but I have never selected a menu display.
Works just fine for me.
But then the latest version I've used is 2019-09 CDT 9.9.0.201909091956

What do you mean by "created the debug configuration programmatically"?
You are using your own code to setup the debug?
If so, I don't see how anyone here can help you. Maybe you can get the source for CDT and see how your code differs.


Previous Topic:How connect *.tlib to C++ project
Next Topic:Indexer problem with large project
Goto Forum:
  


Current Time: Wed Jun 18 02:36:16 EDT 2025

Powered by FUDForum. Page generated in 0.06475 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top