| Author |
Message |
|
|
Posted: Jul 03, 2012 - 01:21 PM |
|

Joined: Aug 01, 2004
Posts: 30
Location: MEGARA, GREECE
|
|
Hi everybody,
I install atmel studio 6 and all are ok. However, when i close and open again studio 6, i try to step into and step over pressing f11 and f10 but nothing.I can step into only from mouse. Does anybody knows why this happen. I have removed and install it three times but i have the same problem.
Thanks a lot. |
|
|
| |
|
|
|
|
|
Posted: Jul 03, 2012 - 01:22 PM |
|


Joined: Jul 18, 2005
Posts: 62244
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
| Somethings cannot be stepped into because of the way C is optimised. Can you post a (short!) example of code where you see this effect? |
_________________
|
| |
|
|
|
|
|
Posted: Jul 03, 2012 - 01:26 PM |
|

Joined: Aug 01, 2004
Posts: 30
Location: MEGARA, GREECE
|
|
| My problem is that i can't step into from keyboard with f11 while the same time ican do it form the mouse. |
|
|
| |
|
|
|
|
|
Posted: Jul 03, 2012 - 02:55 PM |
|


Joined: Jul 18, 2005
Posts: 62244
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
Well take this for example:
Code:
#include <avr/io.h>
int main(void) {
while(1) {
PORTB = 55;
PORTC = 66;
PORTD = 77;
}
}
If I buildthat and then repeatedly press F11 it first does the B, D, C lines in sequence but after that is seen to step between the C and D lines, not returning to B.
Do you see the same behaviour or something else? |
_________________
|
| |
|
|
|
|
|
Posted: Jul 03, 2012 - 04:31 PM |
|


Joined: Feb 23, 2002
Posts: 130
Location: Trondheim
|
|
Do you get the shortcuts displayed from the tooltip on the buttons? Should say Step Into (F11) etc.
Also displayed under the Debug menu with shortcuts listed on the right side.
Check under Options->Environment->Keyboard that mapping is set to atmelstudio. And try the Reset button there.
Lars K |
|
|
| |
|
|
|
|
|
Posted: Jul 03, 2012 - 09:30 PM |
|

Joined: Aug 01, 2004
Posts: 30
Location: MEGARA, GREECE
|
|
| You were absolutely right Trym. I tried to reset button at options->Environment->keyboard and it works. Thanks a lot for your help. |
|
|
| |
|
|
|
|
|