Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.293

Stack Usage

Stack Usage is performed by seeding the specified memory range with a pattern. Usage is considered to be a memory where pattern was overwritten.

 

i-icon

Stack Usage feature can only function in a bare-metal, non-OS application. OS applications will allocate a separate stack to each task and possibly provide their facilities to assess stack usage.

 

To configure stack usage select Debug | Configure Session | Applications | Stack Usage.

 

MMS-StackUsage

 

Enabled - Enable stack usage monitoring. By default this feature is disabled.

 

Mode - Select a suitable mode:

Size bytes following Start

From Start to (excluding) End

From Start to (including) End

Size bytes before (excluding) End

 

Fill pattern - Determine the 8-bit pattern used to seed the stack.

Start - Determine the stack start (this should be the low address, even if the stack is used top-down). Either a specific address or a symbol with the start address should be entered.

End - Determine the end of the stack (if End/Last is used to calculate the size of the stack; this should be the high address, even if the stack is used top-down). Either specific address or a symbol with the end address should be entered.

Size - Determine the size of the stack (if Size is used to specify the size of the stack). Either a specific value or a symbol with the stack size should be entered.

 

 

Copyright © 2024 TASKING