Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I view local variables in MPLAB 5 if using a v7.xx or v8.xx compiler?

0
Posted

How do I view local variables in MPLAB 5 if using a v7.xx or v8.xx compiler?

0

To be able to view local varibles in MPLAB, be sure to compile your project with the option “Generate Debug Info” for each node. Also add to the HEX file node the additional command line option -FAKELOCAL Local variables will then be seen in the format: function_name.local_var So for example, if you had a local variable called “number” and it was within a function called “testing”, then it would appear in the symbol list as “testing.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123