I use XDS560 PCI to debug DSP side of DSPLink application on DaVinci processor (DM3730) and CCS5.1 for Windows. When I start debug session I can watch local variables and see all the class members, but only local variables are with known type and value. Static members initialized outside the class are with unknown type and value is "Error: location is not readable"
What should I do to track/watch these static members?
My apologies for the late reply. If this is still an issue, could you let me know which version of the C6000 compiler you are using (I am assuming you are using the TI compiler) and your full build options. This will help us try to reproduce the issue.
Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide
Click here to track an issue. Enter your bug id in the "Find Record ID" box
Please find attached a testcase to reproduce this issue (seems to be an issue with CCSv5.2.0.00069 as well).
Build the Debug configuration, load the .out file and observe the following in the expressions view:
So viewing the class variables via a class pointer fails, but viewing them directly works fine.
Regards, Matti Rintamaki, D.Sc. (Tech.), Senior Field Application Engineer, Embedded Processing, Texas Instruments, Espoo, Finland
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.