4

I'd like to start understanding how deep my microcontroller's stack goes (even if it's only an estimation).

How can I do this using MPLAB X?

David
  • 4,504
  • 2
  • 25
  • 44
tarabyte
  • 3,112
  • 10
  • 43
  • 67

1 Answers1

3
  • During code editing, you have the possibility to view the call graph:

call graph

Video: MPLAB X TV Call Graph

  • During debugging, you have the possibility to view the call stack:

The call stack window provides a way to view the subroutine calls and interrupts that have occurred to bring the program to its current position.

To view the call stack, select from the main menu: Window ▸ Debugging ▸ Call Stack or use the keyboard shortcut Alt+Shift+3.

m.Alin
  • 10,638
  • 19
  • 62
  • 89