Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

AVR Studio

2008-11-09 by englsprogeny

I am playing with AvrStudio.  I have a cheap JTAG-ICE debugger that I
bought on ebay.
	 Item number: 300240185362	

The only way I can get this to hit a breakpoint [when in a loop] is to
do the following:

		if(count >250)
			count = 0;  [breakpoint here]

Count is a loop counter.  If I reset the value of count to any
non-zero value, the breakpoint doesn't work.

Also doing the following doesn't work:

	if(count >250){
			count = 0;
			marker = 1;  [Breakpoint here]
			}

Again, the only way I can get the breakpoint to consistently work is
to code it as:

if(count >250)
count = 0;  [breakpoint here]

Just curious as to why this happens.

Should I buy a better JTAG-ICE?  Should I use something else to debug
software?  Thanks for your input.

Cheers,

David

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.