Alternatives to DebugView?
Asked Answered
S

6

8

I'm using Sysinternals DebugView for debugging/logging during testing, and it's pretty good. However I was thinking is there more advanced tool.

Features I'm looking for:

  • Live filters - log everything (well, everything "interesting"), change view by filtering
  • Filter by process name
  • Split log to different views by filtering
  • Parsing messages
  • Extending past OutputDebugString, receiving TCP/UDP messages from non-Windows devices
  • Scripting(?)

Features I like in DebugView:

  • Filtering
  • Colors
  • Good timestamps
  • Live view

Any tools for this? Or other available techniques?

I'm using Windows XP/7 and am programming mainly with Delphi and Python.

Sexdecillion answered 4/8, 2011 at 9:6 Comment(3)
Isn't DebugView available with full source code? Then, you could roll out your own version.Acetamide
@Acetamide It looks like the source code is not available, anymore.Sexdecillion
Maybe sourceforge.net/projects/tracetool is useful?Acetamide
C
5

Feel free to try SmartInspect. It comes with the things you've listed, and we have libraries for Delphi, .NET and Java. Also there's an unsupported Python port by one of our customers. It also has high-resolution timestamps and other unique features not found in other tools such as log file encryption, a fast named-pipe log protocol (in addition to TCP logging), backlog queues etc.


(source: gurock.com)

Capitoline answered 12/8, 2011 at 15:42 Comment(2)
Is it possible to use unsupported platform without libraries thru UDP communication?Sexdecillion
@Sexdecillion you could write a simple UDP server for this and then use one of the SmartInspect libraries to forward the requests. This would be the easiest way to accomplish this.Capitoline
W
5

I was recently looking for the exact same thing and came across Trace Spy. It ended up not working for me, and I am still using DebugView for now. However, one trick I learned in the process is that it is possible to setup a Windows 7 shortcut so that it automatically runs DebugView in administrator mode:

DebugView Shortcut Settings

This allows you access to more features that are disabled by UAC such as:

  • Capture Global Win32
  • Capture Kernel

I agree with some of the other posts that DebugView is a good tool. I just think it would be nice to get an update that is compatible with Windows 7. Or even an installer!

Weekend answered 13/8, 2011 at 1:54 Comment(2)
what didn't work for you with TraceSpy? have you posted a comment on codeplex discussion tab about it?Abecedarium
Simon, to be honest that I did not spend too much time trying to get TraceSpy to work. I have DebugView working for now, but that is a good suggestion to post something on CodePlex if I end up trying TraceSpy again and continue to have issues.Weekend
S
5

Recently, buggazer was discontinued in favor of a native c++ implementation called Debugview++. See https://github.com/CobaltFusion/DebugViewPP

It currently already has most of the features requested in the original question.

Scum answered 9/3, 2014 at 10:11 Comment(3)
This looks great. Would it be hard to add TCP/UDP logging?Sexdecillion
it is compatible with the original debugview-agent from sysinternals, so that it is possible to do 'remote-debugging'. Also for UDP there is a specific feature already implemented. Check it out :)Scum
You replied to 2+ years old comment, UDP was implemented and I'm using it :)Sexdecillion
N
1

I haven't come across anything even close to DebugView's features, and the best runner-up is the logging services provided by debuggers like ollydbg and WinDbg.

I actually started to make my own tool with most of the features you describe (and some other like leak tracing), however I didn't get further than a working bare-bones system (I had the source up on Google Code, but I don't know if it's still there). If you do go the route of making your own, using something like .NET combined with this and this, should make it very easy, quick and powerful (you may also find this of interest).


In fact, it seems someone already made a .NET based tool, which could easily be adapted for anyone's needs...

Nikko answered 7/8, 2011 at 0:2 Comment(0)
A
1

For Delphi at least there is Raize Software's CodeSite. It has a lot of logging helpers that makes it easier to use as well. The latest version of Delphi (Delphi XE) has a limited/light version of it included.

Enter image description here

Asseverate answered 10/8, 2011 at 3:35 Comment(0)
S
1

For people that want to 'roll their own':

I've created a googlecode project called Buggazer (https://github.com/janwilmans/buggazer) It is a .net implemention currently under development. Anyone is welcome to join me.

The catching OutputDebugString and display part is finished, it is much faster and less resource consuming compared to Debugview. Main missing feature to make it useful is filtering.

The DBWinListener class is a reference implementation of catching OutputDebugString output for both Win32 and Win32Global output. Testing has been done on WinXp and Win7/8.

The project contains several reference implementations of compressed memory buffers, see the SnappyCompressor class (wrapping a native win32 Google Snappy library) or native .net GZipStorage class.

Also featured, a UTF8String implementation to store simple text in UTF8 format (for saving memory in cases where it is clear UTF16 is never useful.)

UTF8Storage abstracts this in a container class.

Working on:

  • live filters
  • multiple views
  • coloring
  • anything contributed or requested
Scum answered 16/10, 2013 at 19:3 Comment(1)
Google Code has been shut down, and opening the link now results in "404. That's an error." Has it been moved somewhere else, like GitHub? Perhaps you should update your answer.Ploss

© 2022 - 2024 — McMap. All rights reserved.