Skip to main content
John Hite
Associate III
October 31, 2021
Question

Old project stays in debugger and editor.

  • October 31, 2021
  • 2 replies
  • 1605 views

The IDE will not update to the correct project. I have clicked on the .project file in the repository and the IDE goes through its gyrations but when it stops (no errors) the project I was working on yesterday is still loaded.

I also tried Open Projects from File System and get the same results.

This topic has been closed for replies.

2 replies

TDK
Super User
November 1, 2021

Multiple projects can be open at the same time. So if you open a new project, your old project is still open and the files will still show up.

If you want to close a project, right click it on the left side in Project Explorer and select Close Project. You can also right click the project you want to keep open and select Close Unrelated Project.

"If you feel a post has answered your question, please click ""Accept as Solution""."
John Hite
John HiteAuthor
Associate III
November 1, 2021

Glad you are here, TDK.

I double-clicked the .project file in the examples and after all of the dialog it was stated that the project was successfully imported. Unrelated projects were closed. The new project built with no errors as Build All and Build Project are now not selectable, as expected. However, it cannot be run or debugged as there have been no recent launches.

Building and running new STM32 projects works fine but running examples is still a bear, a big hairy one.

BTW, project is Cortex_MCU.

Thanks,

John

KnarfB
Super User
November 1, 2021

In the CubeIDE Project Explorer window, select the newly imported project and then click the Debug button. A dialog will pop up for editing a new debug configuration. In most examples just leave the defaults.

hth

KnarfB

John Hite
John HiteAuthor
Associate III
November 4, 2021

It seems some of the examples work and many don't. I went to Help > check for embedded software packages updates but it thinks all is well. Can I delete the example directory and check again?