Taking RISC-V to the next level!

IAR Embedded Workbench for RISC-V now released

Tools for Risc-V

Messages from the stack plug-in about displaying stack contents

Technical Note 14896



9/7/2015 2:16 PM


The warning:

The stack plug-in failed to set a breakpoint on "main". The Stack Window will not be able to display stack contents.

.. indicates that 'main()' has been linked without symbolic debug information.

Reasons for the message to occur

  • One example: If debug information is not enabled there are no symbols - the "main" symbol is not present, which means that the stack plug-in cannot resolve the address of "main".
  • Another example: In case you have changed your application in such a way that the main function is not called from the start-up code, then "main" is not present.


Perform an examination based on the information above, and if needed disable the stack plug-in in the menu Tools > Options


All product names are trademarks or registered trademarks of their respective owners.

Related Tech Notes

© IAR Systems 1995-2019 - All rights reserved.

We use cookies on this website to provide you with a better experience. You need to accept cookies to continue using this site. Cookies