You are here

Warning: Cannot set breakpoint: | Cypress Semiconductor

Warning: Cannot set breakpoint:

Summary: 4 Replies, Latest post by kmmankad on 13 Jun 2012 08:47 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
dmeeks's picture
2 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 -

kiku's picture
Cypress Employee
64 posts



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




andyds11's picture
4 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.




user_14586677's picture
7646 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.

user_66945721's picture
256 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.

Log in to post new comments.