D
dan655t
Hi Guys,
What I am trying to do is dump a bunch of information to my debug
window in visual studio 6 using TRACE. After about ~150 lines the
debug output stopps. I am doing this in a loop, so my assumption is
the buffer is being overrun and is being output to the debug window as
soon as it gets to the end of the loop. Here is similar sample code:
for (int i=0; i<num_of_fields; i++)
{
TRACE("*************** Table %i ***************\n",i);
TRACE("Field = %i\n",mTable.Field);
TRACE("Block = %i\n",mTable.Block);
TRACE("Offset = %i\n",mTable.Offset);
TRACE("Type = %i\n",mTable.Type);
/* FLUSH? */
}
Is there a way to flush this buffer? Or if I am not on the right track
with a buffer issue? Any advise be offered as to why not all of the
information is being dumpped to the debug window via TRACE?
Thanks.
What I am trying to do is dump a bunch of information to my debug
window in visual studio 6 using TRACE. After about ~150 lines the
debug output stopps. I am doing this in a loop, so my assumption is
the buffer is being overrun and is being output to the debug window as
soon as it gets to the end of the loop. Here is similar sample code:
for (int i=0; i<num_of_fields; i++)
{
TRACE("*************** Table %i ***************\n",i);
TRACE("Field = %i\n",mTable.Field);
TRACE("Block = %i\n",mTable.Block);
TRACE("Offset = %i\n",mTable.Offset);
TRACE("Type = %i\n",mTable.Type);
/* FLUSH? */
}
Is there a way to flush this buffer? Or if I am not on the right track
with a buffer issue? Any advise be offered as to why not all of the
information is being dumpped to the debug window via TRACE?
Thanks.