Visual Studio 2022 Console app behaviour

James Butler 6 Reputation points
2022-06-09T02:13:58.603+00:00

I have noticed that Visual Studio 2022 c++ console app does not keep the window open even though the Linker System setting is Console;Subsystem Console and I use the CTRL - F5 key combination. The window just disappears. In Visual Studio 2019 the window will stay open when using CTRL - F5 key combination. What has changed? Do I need to set some settings to make it behave the way it used to?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,762 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Castorix31 85,956 Reputation points
    2022-06-09T05:53:34.18+00:00

    Have you unchecked the option :

    209761-debug-close.jpg

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.