- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to debug a stack overflow problem and am wondering if there is any way I can view the "stack pointer" or some other information about how much stack memory is used/available as I run a program.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is not an easy way to do this that I know of (you can view the stack and addresses in the debugger as you step through or set breakpoints in the program). You might be intersted in this article which describes how to address lack of stack memory. Our compiler puts some data on the stack for performance reasons and has greater need for stack than other Fortran compilers.
------
Wendy

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page