Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
saik
PostPosted: Jul 03, 2012 - 01:21 PM
Rookie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Jul 03, 2012 - 01:22 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62299
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?

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
saik
PostPosted: Jul 03, 2012 - 01:26 PM
Rookie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Jul 03, 2012 - 02:55 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62299
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?

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
Trym
PostPosted: Jul 03, 2012 - 04:31 PM
Hangaround


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
 
 View user's profile Send private message  
Reply with quote Back to top
saik
PostPosted: Jul 03, 2012 - 09:30 PM
Rookie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits