Is there an API that lets you read a variable type and value..here is what i 
was thinking.

A routine to let you read and dump values from structures like so.

struct foo
{
int a;
char b;
char *c;
}

dumping this would display
structure foo values area
value 1 (int) = 501
value 2 (char) = 'D'
value 3 (*char) = 'This is a sting'

I am tring to find a way to assist myself and eventually others in debugging 
memory more easily. So when you have a memory leak it might become more 
obvious what is leaking.

thanks in advance
Joe


Reply via email to