Skip to content

Missing entries on moderate traffic #407

Closed

Description

@roman-orekhov

I noticed DebugView++ 1.9.0.28 may miss some OutputDebugString calls. I generate just 15200 calls per 250ms and miss 0 or 1 or 2 strings (seemingly random). I have 10 views opened and they have like 15-ish color rules each. Other capturers like DebugView or WpfTraceSpy capture all the output but I don't have any color rules there.

Have I reached the limit of DebugView++ capabilities?

Is there a hidden setting somewhere to increase some internal buffers?

Can this be related to amount of views/color rules?

Activity

  1. janwilmans commented on Apr 2, 2026

    @janwilmans
    Collaborator

    Debugview++ was thoroughly stress tested with 100k+ of lines per second, so I think it might be something in the filtering? Can you try opening a new tab without filters too see if the line also not there?

  2. roman-orekhov commented on Apr 2, 2026

    @roman-orekhov
    Author

    Just checked - not there. My traffic contains almost the same strings during a session, and every run the missing strings are different. That is on the other run they somehow pass the filters

  3. roman-orekhov commented on Apr 2, 2026

    @roman-orekhov
    Author

    I created a test app and some data here
    I open DebugView++ with an unfiltered tab (as well as my other tabs!), run the app with parameter "input.cutdblog", then copy and paste from DebugView++ to text file, remove the columns so that the results are comparable, and saved to "output.cutdblog". My full configuration is also in the shared folder.

  4. janwilmans commented on Apr 3, 2026

    @janwilmans
    Collaborator

    hm, very helpful, I will see if I can understand why this happens

  5. roman-orekhov commented on Apr 20, 2026

    @roman-orekhov
    Author

    @janwilmans were you able to reproduce the problem?

  6. janwilmans commented on Apr 23, 2026

    @janwilmans
    Collaborator

    Yes, I see the problem, it seems to do quite inconsistent, sometimes I see one line out of ~17K lines missing, but also sometimes up to 4 lines... yikes.

  7. janwilmans commented on Apr 23, 2026

    @janwilmans
    Collaborator

    Its not only happening where feed your input through Outputdebugstring, it also happens if you just drag the file onto debugview++. (reading it directly from file)

    Image Image Image

    It is probably not a coincidence that every 5000'th line is missed.
    However, it seems to happen with particular input lines. I wrote a unittest to feed 150K lines at full speed, and it never misses a line. However, with your input, the 5000'th line is missing every time.

  8. janwilmans commented on Apr 23, 2026

    @janwilmans
    Collaborator

    Found the bug, every 5000th message, one message was not displayed ! Fixed in b7e63d5

  9. self-assigned this
    on Apr 23, 2026
  10. roman-orekhov commented on Apr 23, 2026

    @roman-orekhov
    Author

    Hope it would finally warrant a new binary release

  11. janwilmans commented on Apr 23, 2026

    @janwilmans
    Collaborator

    yes it is long over due, but I need to run some tests first 👍

  12. roman-orekhov commented on Apr 23, 2026

    @roman-orekhov
    Author

    Is there any chance a new version would have the following features?

    1. DirectWrite support so that OTF fonts are rendered less ugly
    2. Tail of usual files of any format (because OutputDebugString logging is 70+times slower than async logging to file, and 35+times slower than logging with ETW)
  13. janwilmans commented on Apr 23, 2026

    @janwilmans
    Collaborator

    it has been able to tail files since a very long time. just draw a log file into the view.

    You can also tail a log file over http, but unfortunately not https.

    In dont know what DirectWrite is but it sounds like ATL would need to support that, I just build on top of WTL (a C++ wrapper for ATL).

    Greetings,

    Jan

  14. roman-orekhov commented on Apr 23, 2026

    @roman-orekhov
    Author

    Wow, didn't know about that! AI when asked to recommend log viewers repeatedly didn't mention DebugView++ even when it was put to context. I could have read the readme...
    Support is somewhat hacky:

    1. It doesn't survive DebugView++ restart (I need to drag the file again)
    2. The file doesn't show up in the list of sources (probably also not in a saved configuration)
    3. If a file is rewritten the old content remains in DebugView++
    4. If the file is on RAM disk (created with ImDisk) and I unmount the disk, DebugView++ silently exits. There also are some OutputDebugString calls in the same time.
  15. roman-orekhov commented on Apr 23, 2026

    @roman-orekhov
    Author

    The only standard control supporting DirectWrite is RichEdit, but you use ListView. Guess I'm doomed here

  16. janwilmans commented on Apr 23, 2026

    @janwilmans
    Collaborator

    Wow, didn't know about that! AI when asked to recommend log viewers repeatedly didn't mention DebugView++ even when it was put to context. I could have read the readme... Support is somewhat hacky:

    1. It doesn't survive DebugView++ restart (I need to drag the file again)
    2. The file doesn't show up in the list of sources (probably also not in a saved configuration)
    3. If a file is rewritten the old content remains in DebugView++
    4. If the file is on RAM disk (created with ImDisk) and I unmount the disk, DebugView++ silently exits. There also are some OutputDebugString calls in the same time.
    1. I never designed it with that need in mind ;)
    2. idem ditto
    3. This is by design, it explicitly 'follows' the filesize, so if it shrinks, it starts collecting from the new size.
    4. That sound like an unexcepted exception ;) I will investigate.
  17. roman-orekhov commented on Apr 23, 2026

    @roman-orekhov
    Author

    BTW WTL got updated in March with support of VS up to 2026

  18. janwilmans commented on Apr 24, 2026

    @janwilmans
    Collaborator

    Hmm, I would who published that.

    Image

    Oh wait, it was me ;)

  19. janwilmans commented on Apr 24, 2026

    @janwilmans
    Collaborator

    I released 1.2.0.0 that contains the fix for this issue

  20. roman-orekhov commented on Apr 24, 2026

    @roman-orekhov
    Author

    Thank you! I was probably the second person to install it)

  21. roman-orekhov commented on Oct 26, 2026

    @roman-orekhov
    Author
    1. OTF fonts are rendered less ugly

    @janwilmans your DPI fix solved this issue for me, finally I can use my font!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions