Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, October 28, 2018 9:32 AM | 1 vote
as you can see on the photo below, when I debug my code on VS it shows the folder path as well with the annoying message about automatically close the console.
hello world
C:\Users\sahar\source\repos\Project1\Debug\Project1.exe (process 2968) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
how can I make it go away? (The folder path is more annoying for me)
Hope someone can help me with that, I have searched the web about a solution but couldn't find one.
Thanks in advance!
All replies (4)
Sunday, October 28, 2018 10:01 AM | 1 vote
>how can I make it go away? (The folder path is more annoying for me)
The setting mentioned will in effect do both.
Dave
Wednesday, October 31, 2018 3:26 AM
Hi SupereSonix,
Like Dave's suggestion, is it helpful for you if you use that settings under the output messages?
Whether your app got an Exception or crashed during debugging? Could you share me the code?
Please also debug your app with Exception settings, and debug your app again with breakpoints.
Best Regards,
Jack
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].
Monday, July 15, 2019 6:43 PM
(Reply to Dave)
That's throwing out the baby with the bathwater, isn't it? It's obvious closing the entire console window will remove a subset of its contents. It also removes everything else.
The kludge of adding your own process-pausing code to your source is ugly and shouldn’t be necessary. SupereSonix and I are hoping for a console that only displays the output from the code being run, and which stays open.
Myself, I actually wouldn’t mind if the full path of the executable were output at the top. This would emulate the kind of information available when simply launching it from the command line. Then again, even that’s hard to justify—that should probably just be in the title bar. Or maybe it makes sense when command line arguments have been passed. Whatever.
I’m mainly trying to get rid of the VS settings tip that I have long since read and rejected.
Thursday, November 21, 2019 4:53 AM
Did anyone find a solution to this? Having 3 lines of this useless output popping up every time is so annoying.