Skip to main content
MLe M.1
Associate II
June 10, 2026
Question

Open C/C++ perspective when GDB connection lost

  • June 10, 2026
  • 1 reply
  • 67 views

Hello,

How can I configure CubeIDE V2.1.1 to automatically swtch back to C/C++ perspective when GDB connection is lost?

Best regards

Mich

1 reply

ST Technical Moderator
July 8, 2026

Hello ​@MLe M.1 

Let me thank you for posting.

STM32CubeIDE does not provide a configuration option to automatically switch back to the C/C++ perspective when the GDB connection is unexpectedly lost.

The automatic perspective switch is only triggered when a debug session is started or properly terminated. 

The behavior of perspective switching can be configured under Window > Preferences > Run/Debug > Perspectives.

Thanks.

Mahmoud 

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
MLe M.1
MLe M.1Author
Associate II
July 10, 2026

But STM32CubeIDE 1.17.0 did it…..

ST Technical Moderator
July 14, 2026

Hello ​@MLe M.1 ​@Andrew Neil 

Could you please provide the Run / Debug perspectives Window.

I will be waiting for your feedbacks.

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.