Topic : Problems debugging STM32 - variable values are shown wrong

Forum : Ride IDE

Original Post
Post Information Post
April 17, 2008 - 9:56pm
Guest

I have a BIG problem! The debugging of an application is almost impossible using the Ride7 IDE.

Here is the code:
long testCall(int a, long b)
{
long c = 0;
c = a + b;
return(c);
}

void testProgram(void)
{
long result = 0;

result = 5;
result = testCall(1000, 100000);
}

int main(void)
{
while(1)
{
testProgram();
}
return(0);
}

The problem is, that if I break the execution at "return(c)", none of the parameters/variables are showing the correct value - when the mouse cursor shows the values.

The "Watch" window also shows wrong values.

What is wrong?

Replies
Post Information Post
+1
0
-1
April 18, 2008 - 9:11am
Guest

See answers in this topic.

Lionel