Joined: 26 Jun 2006 Posts: 5 Location: Wertheim/Germany
No Locals + Debugger skips breakpoints
Posted: Wed Jul 12, 2006 8:36 am
Hi, Im almost new to CCS compiler.
Tring to debug an application on 18F2550 via ICD2, I do not understand 2 things:
- Cannot see locals inside functions- Locals window is empty
- Debugger never hits breakpoins exactly, either skips into next commands or does not stop at all.
- Sometimes debugger complains about unknown breakpoints - DId I miss a setting that makes the debugger use new debug information each time I press F10 ?
Any help invited. What can I do for you in exchange ?
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
Re: No Locals + Debugger skips breakpoints
Posted: Wed Jul 12, 2006 9:49 am
mschmelz wrote:
- Debugger never hits breakpoins exactly, either skips into next commands or does not stop at all.
The ICD2 debugger has a well documented bug. It stops one instruction later than it should. You could add a NOP immediately following the code segment you want the debugger to halt on.
Quote:
- Sometimes debugger complains about unknown breakpoints
This is a quirk that occurs when you set a break point and subsequently modify the code. When you attempt to run the code it is not able to determine how the break point maps to the modified code. I call this feature a bug.
So all up - two strikes. _________________ Regards, Andrew
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum