Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
QuestionStack overflow problem. Pin
spainchaud23-Apr-10 18:32
spainchaud23-Apr-10 18:32 
AnswerRe: Stack overflow problem. Pin
#realJSOP24-Apr-10 0:47
professional#realJSOP24-Apr-10 0:47 
GeneralRe: Stack overflow problem. Pin
PIEBALDconsult24-Apr-10 4:29
mvePIEBALDconsult24-Apr-10 4:29 
GeneralRe: Stack overflow problem. Pin
dybs24-Apr-10 6:28
dybs24-Apr-10 6:28 
GeneralRe: Stack overflow problem. Pin
spainchaud24-Apr-10 7:00
spainchaud24-Apr-10 7:00 
GeneralRe: Stack overflow problem. Pin
spainchaud24-Apr-10 8:31
spainchaud24-Apr-10 8:31 
GeneralRe: Stack overflow problem. Pin
harold aptroot24-Apr-10 8:48
harold aptroot24-Apr-10 8:48 
GeneralRe: Stack overflow problem. Pin
spainchaud24-Apr-10 9:28
spainchaud24-Apr-10 9:28 
OK, that makes sense. So it seems that the size of my arrays cannot directly lead to a stack overflow. But the stack overflow does occur when they become large. Somehow the two things are probably related.

Is there some way to check the size of items on the stack using the VS2008 IDE. I am not at work, so I cant look at the problem code, but I have some example code at home. I see in the debugger that I can look at Autos and Locals in their respective tabs, but I dont see a tab for the stack contents.
GeneralRe: Stack overflow problem. Pin
Luc Pattyn24-Apr-10 9:06
sitebuilderLuc Pattyn24-Apr-10 9:06 
GeneralRe: Stack overflow problem. Pin
spainchaud24-Apr-10 9:50
spainchaud24-Apr-10 9:50 
GeneralRe: Stack overflow problem. Pin
Luc Pattyn24-Apr-10 9:56
sitebuilderLuc Pattyn24-Apr-10 9:56 
GeneralRe: Stack overflow problem. Pin
spainchaud24-Apr-10 10:21
spainchaud24-Apr-10 10:21 
GeneralRe: Stack overflow problem. Pin
Luc Pattyn24-Apr-10 10:34
sitebuilderLuc Pattyn24-Apr-10 10:34 
GeneralRe: Stack overflow problem. Pin
DaveyM6924-Apr-10 23:07
professionalDaveyM6924-Apr-10 23:07 
GeneralRe: Stack overflow problem. Pin
Luc Pattyn25-Apr-10 1:33
sitebuilderLuc Pattyn25-Apr-10 1:33 
GeneralRe: Stack overflow problem. Pin
DaveyM6925-Apr-10 3:48
professionalDaveyM6925-Apr-10 3:48 
GeneralRe: Stack overflow problem. Pin
Luc Pattyn25-Apr-10 4:05
sitebuilderLuc Pattyn25-Apr-10 4:05 
GeneralRe: Stack overflow problem. Pin
Luc Pattyn25-Apr-10 4:02
sitebuilderLuc Pattyn25-Apr-10 4:02 
AnswerRe: Stack overflow problem. Pin
Luc Pattyn24-Apr-10 1:44
sitebuilderLuc Pattyn24-Apr-10 1:44 
GeneralRe: Stack overflow problem. Pin
spainchaud24-Apr-10 8:05
spainchaud24-Apr-10 8:05 
GeneralRe: Stack overflow problem. Pin
Luc Pattyn25-Apr-10 4:04
sitebuilderLuc Pattyn25-Apr-10 4:04 
GeneralRe: Stack overflow problem. Pin
spainchaud25-Apr-10 18:57
spainchaud25-Apr-10 18:57 
AnswerRe: Stack overflow problem. Pin
spainchaud26-Apr-10 4:42
spainchaud26-Apr-10 4:42 
QuestionGenerating array in foreach loop Pin
mprice21423-Apr-10 18:11
mprice21423-Apr-10 18:11 
AnswerRe: Generating array in foreach loop Pin
Khaniya23-Apr-10 18:25
professionalKhaniya23-Apr-10 18:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.