CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 1999
    Posts
    7

    afxdump - swallowed lines

    Hi all,

    anyone out there, who has solved the following problem?

    When I call Dump(afxDump) on my objects, sometimes the debugger swallows lines or parts of a line. Of cource I don't have a small output. I have nested 'Dump()'-calls (acylic) and it produces around 500 lines with around 30 chars per line (sometimes more, sometimes less :-( ).
    The behavior ist not deterministic, I can call the same 'Dump()' twice and I get different outputs.

    By the way, I'm using VC++ 6.0 SP2.

    Thanks for any hint

    Chris




  2. #2

    Re: afxdump - swallowed lines

    This happens to me occasionally, but only when I try to dump large amounts of data in a very short time. Usually I just try to reduce the amount of data I'm trying to dump.

    LA Leonard - http://www.DefinitiveSolutions.com

  3. #3
    Join Date
    Jun 1999
    Posts
    7

    Re: afxdump - swallowed lines

    >This happens to me occasionally, but only when I
    >try to dump large amounts of data in a very
    >short time. Usually I just try to reduce the
    >amount of data I'm trying to dump.

    Hm,

    that's exactly the problem. Can you or anyone else tell me what 'short' is or what 'large' means.
    This is really annoying, this looks very much like an very old bug!

    Chris




  4. #4
    Join Date
    May 1999
    Location
    United Kingdom
    Posts
    136

    Re: afxdump - swallowed lines

    I've got a similar problem with TRACE(). When I dump a large amount of data in a loop using TRACE(), some of the lines get "swallowed". If I put in a Sleep(10); within a loop, everything is printed.

    Hope this helps?
    Oliver.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured