CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

No Locals + Debugger skips breakpoints

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mschmelz



Joined: 26 Jun 2006
Posts: 5
Location: Wertheim/Germany

View user's profile Send private message Visit poster's website

No Locals + Debugger skips breakpoints
PostPosted: Wed Jul 12, 2006 8:36 am     Reply with quote

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: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: No Locals + Debugger skips breakpoints
PostPosted: Wed Jul 12, 2006 9:49 am     Reply with quote

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

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group