Thank David, it works good now. Cat -------------------------------------------------- From: <dpharris@telus.net> Sent: Saturday, June 07, 2008 5:15 PM To: <AVR-Chat@yahoogroups.com> Subject: Re: [AVR-Chat] AvrStudio4 (2008), WinAVR (2007-05...) and Dragon problem debugging C code (jtag) > Cat- > > Yes, I have had the same problem. I wish someone in the know would > comment. > > Firstly, the compiler appears to optimize out pieces of code that are > required, > and without so much as a warning. It is possible that the compiler move > the > your setting of iStepX etc further on in the code to reduce the use of > temporaries. However, at least in the development phase it is useful to > see > what the values are during debugging, and short statements used solely to > monitor a variables value are often optimized out. > > Secondly, the compiler defaults to maximum optomization, which would seem > to be > a poor choice since most projects surely start in the debug phase! > ...
Message
Re: [AVR-Chat] AvrStudio4 (2008), WinAVR (2007-05...) and Dragon problem debugging C code (jtag)
2008-06-08 by Cat Hotmail