Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Step into problem

Hi,
 
I am using sdm from ptp 1.0 to debug testMPI.c.  I add to testMPI.c a simplest function,
 
int f(int a, char *b)
{
     printf("a = %d,b=%s\n");
     return 0;
}
 
in main() I add  f(10,"testing");  and insert a function breakpoint at f(), RUN...
then I step into f. sdm suspend at line "printf", but arguments a=0,b=0x000..0 ,
Step over printf,  still a=0,b=0x00...0  what is more, sdm complains a fatal error,and quit
 
Does anybody have such experience?



Stay in the know. Pulse on the new Yahoo.com. Check it out.

Back to the top