What is conceptual difference in running Application in release mode through VS or just by clicking executable from outside VS?
The are must be a difference because I have console application that I run through VS and it is fine and if I run it by clicking exe file it never end I process runs forever even through it acts differently through VS. It was clearly a bug and I found it in a code but why it acted differently when running in VS and exe file, I though it is the same thing?

By the way guys how you would recommend debugging console application that remains to run even if all code executed. Clearly, setting breakpoints and line by line execution will not help since it completes all lines of code. It must be some thread that never ends. I tried to use Spy++ that comes with .NET and VS but it was not clear at all, had so many different thread running. Is there any easier way to do this type of examination?

Thanks a lot