Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] AvrStudio4 (2008), WinAVR (2007-05...) and Dragon problem debugging C code (jtag)

2008-06-08 by Cat Hotmail

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!
>
...

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.