Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: vfdff on April 05, 2009, 10:44:21 am
-
I can't watch the value int the watch ? only seeing some '?' with the value same as
i = No symbol 'i' in current context
my code:
/*
*/
#include <avr/io.h>
int main(void)
{
// Insert code
int i = 34;
int tt = 2*i;
i= tt+3;
i <<= 2;
while(1)
{
i++;
}
;
return 0;
}
while in which can be seen some "i" in the context
-
A little less information.
Which OS are you on, which version of C::B do you use, which compiler (and version) and which debugger and version ?
Can you give the steps to reproduce the problem (works without problems for me) ?
-
I use it on my windows xp operation,and choose avr project to create ,and compile with avr gcc ?
-
I use it on my windows xp operation,and choose avr project to create ,and compile with avr gcc ?
I'm not sure AVR GCC can debug?
Why not try MinGW?
-
yeah, it runs all right with GCC