Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » When Debug tabbed view is selected, this results in Build Project menu disabled
When Debug tabbed view is selected, this results in Build Project menu disabled [message #1821775] Wed, 19 February 2020 19:59 Go to next message
Eclipse UserFriend
It sees to not associate the Debug Configuration with the correct C/C++ Project anymore.

Another seemingly related behavior
* I have unintentional multiple tabbed instances of a single source file
** Open a file from the "C/C++ Project" or "Project Explorer" tabbed views to have a editor instance tab
** Clicking on a function from the call stack to bring up the file an editor instance tab.
** These two tabbed view instances are independent
*** Editing each tab and saving one results with a warning for the other tab that the file on disk has changed
*** Only when focus is on the source tab view, which was opened using the a project view, results in the "Build Project" menu item being enabled

I have yet to find a way to correct this behavior

* This behavior started this week after using this project and debug configuration for over two months.
* I don't know what may have occurred to create this state
* This state persists after closing and restarting Eclipse
* The state may have coincided with another issue I reported a day or two ago
** Clicking an error in the compiler output displayed in the Console view fails to open the file in a editor tab view nor select the line of code which caused the error
Re: When Debug tabbed view is selected, this results in Build Project menu disabled [message #1821780 is a reply to message #1821775] Thu, 20 February 2020 00:24 Go to previous message
Eclipse UserFriend
Quote:
When Debug tabbed view is selected, this results in Build Project menu disabled


Because the Debug tab in Debug View is not associated with a project.
Build Project will be enabled when a window associated with the project (an edit window, e.g.) is active.

Quote:
It sees to not associate the Debug Configuration with the correct C/C++ Project anymore.


Debug Configurations are global to the workspace.
They never were associated with a project.
So it's not clear what you mean.
But you can set the project on the Main tab.

Quote:
I have unintentional multiple tabbed instances of a single source file


Not sure how you did that without cloning the window.
When I try to open a file already open, it goes to the already open window.
Is it possible they are really two files with the same name?

Clicking on the call in the debug stack opens the window if not already open.



[Updated on: Thu, 20 February 2020 00:44] by Moderator

Previous Topic:cdt.parser for GNU GCC error
Next Topic:Debugging ncurses application in Eclipse CDT (Linux)
Goto Forum:
  


Current Time: Sun Jun 22 05:28:58 EDT 2025

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

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

Back to the top