View Single Post
Old 08-23-2006, 01:29 PM   #2 (permalink)
jaeusm
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Stack overflows occur when you run out of memory on the call stack. Each function your program calls gets placed on the stack. If your program is using recursion, the recursing function gets put on the stack every time it calls itself until some condition is met. Once the condition is met, the stack unwinds and frees memory while doing so. So, a typical cause of a stack overflow is infinite recursion.

If the terms 'stack' and 'recursion' are foreign to you, Google them for a better understanding.

"Break" is a debugger command to stop the executing program at its current instruction.
jaeusm is offline