Page 1 of 1

Debugger issues

Posted: Mon Nov 10, 2008 11:39 pm
by thomastaranowski
I'm trying to use the debugger on the MOD5282 platform, and have been having mixed results. I recall it working when I tried it previously. However, I'm now trying to debug a crash, and when I breakpoint at any point in the program and run the debugger, the debugger always starts on the same bogus line in the function OSTaskIdle (if (OSShowTaskLeds)) It looks like the symbol table for the executable doesn't match what's on the target, but I've done all sorts of rebuilding, etc., but to no avail. If I try to single step/step out, etc., it just hits the same line.

I can use prints to narrow down the problem area, but it would be nice to be able to use the debugger in this scenario. This is using the "rel21_rc4a" release of the nndk.

Any ideas?

Re: Debugger issues

Posted: Wed Nov 12, 2008 7:04 pm
by rnixon
When I run the debugger, I find that if I stop it, it is usually in the idle task since I have a lot of blocking code. A good baseline would be to run the simple example in the debugger docs just to make sure everything is fine in the system, then move back you your app.