Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does my program output looks different when I am debugging vs. running it on Windows?

0
Posted

Why does my program output looks different when I am debugging vs. running it on Windows?

0

When you debug on Windows, IDE cannot allocate another console for your program output so it gets mixed in with debugger data. Since it uses a specific debugger protocol, some lines of your program output can be parsed as debugger commands and won’t be printed back. You can mitigate this issue by enabling verbose console for gdb in the Debug tab of the launch configuration.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.