3

I am dumping \t delimited data using using OutputDebugString and then use ex-Sysinternals DebugView to capture it.

The problem is that all the data in DebugView appear to be space delimited, hence I need to perfrorm CTRL+H "\x20" "t" to replace spaces with the tabs before I can use it (I really need tab delimited data).

Is there anyway to tell DebugView not to replace tabs with spaces? Or maybe there is a better tool available to capture output of the OutputDebugString function?

Any ideas are very welcome!

2
  • Have you tried logging to a file? (File\Log to file...) Mar 16, 2010 at 7:19
  • tried, didn't help - it outputs \x20-s, not \t-s
    – Steve
    Mar 16, 2010 at 7:23

4 Answers 4

6
+100

It seems this is a "feature" in DebugView. I have tried with Hoo Wintail and this dude collects tabs without any problem. So I see 3 solutions:

  1. You get Hoo Wintail (highly recommended)
  2. You write your on tool (look here for some idea how to do it or even get a complete one)
  3. You redirect to file.

I strongly vote for option 1.

1
  • Looks interesting. Really like the idea of realtime monitoring of trace log files located at FTP. What could be really cool (not sure if such tool exist or not) - to be able watch logs which are located on the remote unix servers accessible with SFTP. Can someone recomend such a tool?
    – Steve
    Mar 24, 2010 at 2:30
1

Why not write them on a local log-file ? (only on debug mode ?)

0

You can use multiple spaces instead of a tab.

0

DebugOutput and DebugView are intended for situations as implied by their name: debug. They are not intended to replace file-save functionality.

You are probably in the situation where analyzing the debug output means analyzing the tab-delimited format. Find another character that can be used instead of tab, e.g. | or @ or ^. Then open the debug output in an advanced editor (e.g. UltraEdit) and convert the character back to Tab.

1
  • This is what I do now. I though I could eliminate that extra step.
    – Steve
    Mar 16, 2010 at 22:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.