Hi,
I am facing certain problems when I want to view the data
from variables or objcets. If i am trying to view the objects or
characters, sometimes it is showing adresses and some times it is
showing null adress like 0x0 .
Example is given below
297 strncpy( itemData, dataString, dataLen);
(gdb) n
298 return WCO_OK;
(gdb) p itemData
$12 = 0x0
(gdb) ptype itemData
type = char *
But the data is there in those variables. How to avoid
this situation ,if anybody knows or knows any soft book or any
site ,plese mail back to me.
Thanks in Advance
Sunil