Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: CCSv5 Debug Doesn't Recognize Variables or Allow Breakpoints

$
0
0

After running CCSv5 successfully for several weeks on a single project, I've lost the ability to debug much (not all) of the code.  For example, I added the following function:

void process_chksum(void)
{
    char *str;
    char lochk;
    char hichk;

    str = strchr(&wkbuffer[0], '*');

    hichk = 1;
    lochk = 34+hichk;

}

For each defined variable, I get a warning that the variable is defined but not used.  If I try to add a breakpoint anywhere within the function, the breakpoint is automatically added at the closing brace.  I've tried setting a breakpoint at the beginning of the function and using the "step into" command to monitor steps within the function, but the debugger stops only on the closing brace. Any ideas on what might be happening?


I'm working exclusively within CCSv5 (in fact my code is in one file currently) on a Windows 7 machine.  I've got optimizations turned off and my target is an MSP430FR5739.


Thanks in advance.


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>