stackoverflow

  • Thread starter Thread starter sjoerd van den Nieuwenhof
  • Start date Start date
S

sjoerd van den Nieuwenhof

hello,

i'm getting a error named: an unhandled exception of
type 'system.stackoverflowException' occured in unknow
module.

whta does this mean??
please help me
 
sjoerd van den Nieuwenhof said:
hello,

i'm getting a error named: an unhandled exception of
type 'system.stackoverflowException' occured in unknow
module.

whta does this mean??
please help me

When a procedure is called, the return address is put on the stack. Also all
local variables are on the stack. The size of the stack is limited. A stack
overflow means that a procedure is about to be called but there is no space
on the stack. Usually this is due to a bug (e.g. recursive procedure calls).
Open the callstack window and have a look what causes the exception.
 
Hello,

sjoerd van den Nieuwenhof said:
i'm getting a error named: an unhandled exception of
type 'system.stackoverflowException' occured in unknow
module.

When/where do you get this error?

Regards,
Herfried K. Wagner
 
Hi Sjoerd,

I have had the same error. My problem was that something was looping.
module 1 calls module 2 and module 2 calls module 1.

Maybe is that your problem too.

succes.
Klaasjan
 
Hi
The fastest way to get a stack overflow is calling the callerroutine itself
withouth controling the end
\\\\
private sub looper()
dim a as integer = 2
do until a = 1
looper()
loop
end sub
////
Cor
 
Back
Top