Hi

I am learning to debug with Visual Studio and created a program to throw a stack overflow exception.

When I run it in the debugger it does throw but when I just run it from the command line no exception is thrown. Why?


void Example6_1();

void Example6()
{
Example6_1();
}

void Example6_1()
{
Example6();
}


int main()
{
Example6();
return 0;

}