Target reported error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Target reported error

2,615 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpc1857 on Mon Jan 07 02:19:20 MST 2013
Hi,

When i debug my code in LPCXpresso v4.3.0 then after downloading image it shows the error like


Quote:

  15: Target error from Set break/watch
  Unable to set an execution break - no resource available.



I have not set any breakpoint in my code.check the solution on net but not luck:confused:.

Please help.
0 Kudos
3 Replies

1,497 Views
Gretsch
Contributor II

Took me a while to figure this one out...

In my case it was because a breakpoint that I had set was no longer in a valid line of code.

This is a terrible bug.  Just because a breakpoint can't be set, the whole debugger should not fall flat on its face.

Invalid breakpoints should be simply ignored skipped over on failure.  Every other (good) debugger in the world *silently* ignores invalid breakpoints.  

Devs all know they need to clean up old breakpoints periodically, but don't *force* me to do it.

2,453 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Mon Jan 07 02:36:58 MST 2013
Be useful if you told us what MCU you were debugging!

Also, have you read this FAQ - How many breakpoints or watchpoints can I set?
http://support.code-red-tech.com/CodeRedWiki/HowManyBreakpoints

HTH!

2,453 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by modestt on Mon Jan 07 02:32:05 MST 2013
could you share your hardware connections setup etc ?
0 Kudos