Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by ikuo005@Jul 19 2006, 09:28 PM hi slacker,
i didn't make myself clear, i meant i tried using the debugger with the run time stack checking" option on. but i was not sure where to look at for stack and heap memory in the debug interface in nios ii ide. where should i look into in the debug interface to look at the current stack memory and heap memory while i am debugging.
thanks
tony --- Quote End --- It doesn't work that way. The "Run time stack checking" just inserts a break statement in such a way that a stack overflow will trigger it. A while back, however, there was a pretty decent analysis (http://www.embedded.com/showarticle.jhtml?articleid=47101892) of this problem in ESD. The article refers to a Perl script (http://www.cs.utah.edu/~regehr/stacktool/) that might be able to help you out, as well. I know this isn't for the Nios II processor, but it gives you an idea that this is not a trivial problem... Best of luck....that's really the limit of my knowledge on the subject. Cheers, - slacker