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

Debugger - Breakpoint issue

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



Joined: 21 Jun 2010
Posts: 11

View user's profile Send private message

Debugger - Breakpoint issue
PostPosted: Mon Jun 13, 2011 9:30 am     Reply with quote

I am using the ICD-U64 programmer/debugger, along with the newest PCWH compiler (v4.121) targeting a PIC18F26J13.

My problem is that when I use the Debugger feature, there are certain C modules that I can set breakpoints, but there are other C modules where it does not allow me to set a breakpoint. I get the following error message:

"Error adding the breakpoint at c:\myfile.c, line 206. Could not resolve line number information. Make sure it belongs to the debugging session"

I have seven *.c modules in my project, and it will only allow me to add breakpoints in three of them.

Has anyone else seen this and found a solution to it?

Thanks!
andre schoeman



Joined: 20 Aug 2011
Posts: 2

View user's profile Send private message

same problem
PostPosted: Sat Aug 20, 2011 11:52 pm     Reply with quote

Hi

I'm using ICD-U64 and PCWHD V4.124. I have the same problem.
I can't add breakpoints in any .c file other than the primary file created by the project.

I have tried re-installing the software without success.

Have you had any luck on this issue?
Thanks
Andre
Coffee



Joined: 10 Feb 2015
Posts: 9

View user's profile Send private message

Re: same problem
PostPosted: Thu Feb 19, 2015 10:43 am     Reply with quote

I came across your questions... you probably have already resolved your problem. However, I did not see a resolution posted on the forums.

Check to see if you have the directive #nolist in your *.c files OR in any *.h files that are included by them. That apparently removes information the debugger needs to match code and line numbers. So, breakpoints can not be set as needed.

andre schoeman wrote:
Hi

I'm using ICD-U64 and PCWHD V4.124. I have the same problem.
I can't add breakpoints in any .c file other than the primary file created by the project.

I have tried re-installing the software without success.

Have you had any luck on this issue?
Thanks
Andre

_________________
Thank you,
Bill
andre schoeman



Joined: 20 Aug 2011
Posts: 2

View user's profile Send private message

Debugger - Breakpoint issue
PostPosted: Thu Feb 19, 2015 3:30 pm     Reply with quote

Hi

Sorry, I never got to the bottom of this one. I stopped using the compiler because the project was cancelled. I have not used it since.

Good luck,
Andre
allenhuffman



Joined: 17 Jun 2019
Posts: 567
Location: Des Moines, Iowa, USA

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

PostPosted: Wed Jun 19, 2019 8:21 am     Reply with quote

This just started happening to me today. Everything was running and debugging fine, then suddenly...
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, BASIC Stamp and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?
Ttelmah



Joined: 11 Mar 2010
Posts: 19546

View user's profile Send private message

PostPosted: Wed Jun 19, 2019 12:16 pm     Reply with quote

You are using Custom Computer Services CCS C, not Ti CCS C?
The former only seemed to do this with a few very old versions
(when this thread was launched), the latter has several versions that
give this problem.
This forum is for the former C, not the latter.
allenhuffman



Joined: 17 Jun 2019
Posts: 567
Location: Des Moines, Iowa, USA

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

PostPosted: Wed Jun 19, 2019 12:19 pm     Reply with quote

Ttelmah wrote:
You are using Custom Computer Services CCS C, not Ti CCS C?
The former only seemed to do this with a few very old versions
(when this thread was launched), the latter has several versions that
give this problem.
This forum is for the former C, not the latter.


I'm using the CCSInfo one. I closed and reopened the IDE a number of times, then it magically started working again. Just flaky, it seems, in my case.
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, BASIC Stamp and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?
Ttelmah



Joined: 11 Mar 2010
Posts: 19546

View user's profile Send private message

PostPosted: Wed Jun 19, 2019 1:50 pm     Reply with quote

The information used by the debugger is the .sym file, and the .cof file.
#nolist turns off generation of sym list data (and is by default set for the
CCS 'core' code - you can enable it by remming this out in the start of
the processor.h file). Since this contains the listing for everything, it
sounds as if the issue is in the .cof file. This can be disabled in the project
settings, but again this would affect all files.
Also most debuggers are limited in how many breaks they can generate.
If you have an issue again try right clicking on the break window and
disabling all breaks. You may find it starts working again.
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