Re: Opinions on Atmel Studio4 sw?
- From: Frank Buss <fb@xxxxxxxxxxxxx>
- Date: Wed, 2 Jul 2008 21:01:27 +0200
Martin Griffith wrote:
The simulator/debug seems to miss single stepping through procedures,
like my "TwiddlePORTD" routine, just appearing to ignore them in my
main while(1) loop. PORTD does update, so I'm wondering if I've missed
a menu somewhere for showing this?
I don't know Atmel Studio, but I know GCC and maybe you compiled it with
optimizing settings (e.g. -O3), which can confuse the debugger, because
there is not always a 1:1 mapping between C code and assembler after
optimizing. Try compiling it in debug mode, e.g. with -O0 -g3.
--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.
- Follow-Ups:
- Re: Opinions on Atmel Studio4 sw?
- From: Martin Griffith
- Re: Opinions on Atmel Studio4 sw?
- From: Martin Griffith
- Re: Opinions on Atmel Studio4 sw?
- References:
- Opinions on Atmel Studio4 sw?
- From: Martin Griffith
- Opinions on Atmel Studio4 sw?
- Prev by Date: Re: Good SVN client?
- Next by Date: Re: Opinions on Atmel Studio4 sw?
- Previous by thread: Opinions on Atmel Studio4 sw?
- Next by thread: Re: Opinions on Atmel Studio4 sw?
- Index(es):
Relevant Pages
|
|