C++ - getting local variables

From: Reynolds, Evan (ISS Atlanta) (EReynolds_at_iss.net)
Date: Mon Jul 17 2000 - 20:59:09 BST


I have a question about this code fragment (useless, just written so I could
learn UPS.)

ULONG ThreadTest::_doWork()
{
 	int i,j;
	i = 10;
	j = 55;
	int Result = i*j*myVal;
	cout << "In thread - " << Result << endl;
	return(0);
}

I have been trying to get UPS to show me the values of the i or j variables
in this class, and can't.  What would the $printf be to show the values for
i or j?  How else can I see the values?

=========================================
Evan Reynolds                     ereynolds_at_iss.net
Software Engineer                 678-443-6562
Internet Security Systems     http://www.iss.net


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:33 GMT