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 support@ccsinfo.com

Setting the single Icd2 breakpoint

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



Joined: 19 Jan 2004
Posts: 2

View user's profile Send private message

Setting the single Icd2 breakpoint
PostPosted: Wed Jan 21, 2004 7:37 am     Reply with quote

Using the CCS (3.147) under MPlab ide (6.4) I cannot set the breakpoint.

When I try and run the program I get an error report "One or more breakpoints could not be resolved".

The MPLAb web site suggests clearing the breakpoints and resetting but this does not work for me. I have tried clearing the breakpoints and resetting at the required line.

How does the COF file information get transferred to the Mplab Ide?

When I ran the CCS patch for 6x with 6.4 the IDE started to crash at startup. I have reinstalled both mplab6.4 and then the ccs compiler
fpgeh



Joined: 07 Sep 2003
Posts: 19
Location: Vancouver, BC

View user's profile Send private message

PostPosted: Wed Jan 21, 2004 1:29 pm     Reply with quote

I also tried setting breakpoints using MPLAB and ICD2. What I found was that I couldn't really set the breakpoints directly in the C code. However, if you open up the disassembly, you will see assembly language along with the C code commented out. Setting breakpoints on the assemly instructions seems to work well.

Maybe someone else has found a better way, but I think the problem may be due to one line of C equalling several instructions.
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