Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Warning: Cannot set breakpoint:

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Warning: Cannot set breakpoint:
Moderator:
RKRM

Post Reply
Follow this topic



Warning: Cannot set breakpoint:

dmeeks posted on 29 Dec 2010 8:21 AM PST
Member
2 Forum Posts

Using CY8C3866PVI-021ES3 and during debugging, I cannot add a breakpoint in one of the files. I get this message (edited the entire path to clarify):

Warning: Cannot set breakpoint: 'C:\<path>\<project name>.cydsn\Generated_Source\PSoC3\ISR_1Second.c:145'.  Encountered error (No debug symobols for file 'C:<path>\<project name>.cydsn\Generated_Source\PSoC3\ISR_1Second.c'.).

This happens only in the code file for an interrupt called ISR_1Second.c (used to generate a one-second interrupt).

I have another file in this same project that is almost identical (for a 50msec interrupt handler) and I am able to place breakpoints in that one.

Thank you -




Re: Warning: Cannot set breakpoint:

kiku posted on 02 Jan 2011 11:34 PM PST
Cypress Employee
61 Forum Posts

 Hi,

 

How many breakpoints have you used in this project? Can you please post your project file?

 

Regards,

Kishore.



Re: Warning: Cannot set breakpoint:

andyds11 posted on 13 Jun 2012 10:29 PM PST
Member
4 Forum Posts

 I'm having the same problem. It's also in an interupt routine that worked two days ago. I added a external variable and now it doesn't seem to execute the interupt and I can't set a debug in the function. I've deleted all other breakpoints, so that's not the problem.

 

Andy

 



Re: Warning: Cannot set breakpoint:

danaaknight posted on 13 Jun 2012 02:19 PM PST
Top Contributor
1773 Forum Posts

One minor thing I have learned is to turn off compiler optimizations when debugging,

I have had tools that rightly, eliminate redundant code, create jumps for that purpose to

one code snippet, but tool would not tell you a BP can no longer be set on non existent

code. I don;t think thats this problem in particular, but always worth a check.

 

Its a compiler setting, code optimization level. Note, however, this will not work if you

are right up against code FLASH size limitation, a problem I am now having.

 

Regards, Dana.



Re: Warning: Cannot set breakpoint:

kmmankad posted on 13 Jun 2012 06:47 PM PST
Top Contributor
268 Forum Posts

A very gullible approach that has worked for me with this error message,is clearing all breakpoints(Using the menu options,not toggling them in the code window.),and setting them again.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20