Hi,
I am having a problem with the Insight debugger in the latest MSP430 Windows
toolchain. It does not report the correct value for parameters that are
passed on the stack.
For example, in the following piece of code:
int main(void);
void subroutine(char c);
void subroutine2(int i);
int main(void)
{
subroutine('X');
subroutine2(1234);
}
void subroutine(char c)
{
char d;
d = c;
}
void subroutine2(int i)
{
int j;
j = i;
}
the variables c and i in the subroutines do not show the correct value in
the watch window. However, d and j are set to the correct values and display
correctly in the watch window.
Any ideas?
Thanx and regards,
David Hichens