my project is a clr (VC++) project. i want to debug and to trace my code ( in debug mode)
but as soon as i call
then i can't see value of objects.
for example in my code bellow (in debug mode) :
int otherVal = 10;
SqlCommand^ cmd = gcnew SqlCommand(sPersonInfoRecord, objConHIS1);
cmd->CommandType = System::Data::CommandType::StoredProcedure;
SqlDataAdapter^ da = gcnew SqlDataAdapter(cmd);
da->SelectCommand = cmd;
after calling Fill() function, i can't see value of "ds's members" or even the value of "otherVal"
how do i debug my code ?
why??? please help me to trace my code.
What I have tried:
i can't see Value of variables in debug mode when i call SqlDataAdapter.Fill() function!!!!