Re: [q-lang-users] Suggestions on how to debug?
Brought to you by:
agraef
From: John C. <co...@cc...> - 2006-12-18 20:34:59
|
Albert Graef scripsit: > (NB: John, I seem to recall that you asked a fellow chicken developer > for the code they use to detect and handle C stack overflows. Did you > ever get a reply?) Yes. Chicken uses a default stack size of 128K. You can change this by rebuilding it, or with a command-line argument. It simply compares the address of a local variable near the current top of stack with one known to be at the bottom of the stack, and takes action if the pointer difference is too large. -- John Cowan co...@cc... http://ccil.org/~cowan If a traveler were informed that such a man [as Lord John Russell] was leader of the House of Commons, he may well begin to comprehend how the Egyptians worshiped an insect. --Benjamin Disraeli |