Sorry for coming back again, but it seems that a response to the previous topic has again triggered an unsubscribe request for my account from this list (obviously, I didn’t wan’t to use the term ‘unsubscribe’ in the topic of this post):
According to the mail I received from Lyris, the mail came from:
[quote]
Received-SPF: Pass client-ip=208.13.232.231; helo=scm.osr.com; envelope-from=;
Return-Path:
Received: from scm.osr.com ([208.13.232.231]) by lists.osr.com with SMTP (Lyris ListManager WIN32 version 8.9b); Sat, 24 Jan 2009 11:47:10 -0500
Received: from (unknown [216.82.254.195]) by scm.osr.com with smtp id 4064_d445c56a_ea05_11dd_a7ea_00188bf6e5ad; Sat, 24 Jan 2009 05:57:44 -0500
Received: (qmail 10819 invoked from network); 24 Jan 2009 16:46:13 -0000
Received: from mail-fx0-f15.google.com (HELO mail-fx0-f15.google.com) (209.85.220.15) by server-2.tower-200.messagelabs.com with SMTP; 24 Jan 2009 16:46:13 -0000
Received: by fxm8 with SMTP id 8so2178227fxm.1 for ; Sat, 24 Jan 2009 08:47:07 -0800 (PST)
Received: by 10.103.121.19 with SMTP id y19mr408692mum.56.1232815627762; Sat, 24 Jan 2009 08:47:07 -0800 (PST)
X-VirusChecked: Checked
X-Env-Sender: xxxxx@gmail.com
I am absolutely sure that I do NOT want to unsubscribe.
I’m of course assuming that this is either an accident or some sort of misconfiguration of an autoresponder.
I’m also assuming that, xxxxx@gmail.com is not really trying to kill my windbg account.
Maybe it is an error of the list manager, misinterpreting the mail from xxxxx@gmail.com (it seems to be HTML).
Thx for any hints,
Robin
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@tektronix.com
Sent: Freitag, 23. Januar 2009 18:36
To: Kernel Debugging Interest List
Subject: RE: Re:[windbg] start windbg with target outuput redirection
To summarize:
I couldn’t find a way to do it, I’ll just have to use some initial bp of some kind in my app.
Even when using IFEO to start the app always with debugger attached, the redirection doesn’t work.
I give up (it’s not that importatnt).
As a side note:
The Lyris listserver for some reason thinks I want to unsubscribe from the list, which is NOT the case.
Maybe he is annoyed that I was passive for a looong time ![]()
Cheers,
Robin
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@tektronix.com
Sent: Freitag, 23. Januar 2009 12:42
To: Kernel Debugging Interest List
Subject: RE: Re:[windbg] start windbg with target outuput redirection
Hi All,
Thx for all the hints.
Actually I remember I had this problem long ago. I just don’t seem to remember how I solved it (or got fed up).
Either the way you suggested (I own the app, so just insert a bp in it). But right now, out of curiosity, I tried it with say ‘ipconfig’, which obviously I do not own.
I’ll try using the image load options in the registry by always attaching windbg to it or so.
thx again
Robin
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Skywing
Sent: Freitag, 23. Januar 2009 01:42
To: Kernel Debugging Interest List
Subject: RE: Re:[windbg] start windbg with target outuput redirection
TBH, I only rarely use remote.exe. But the thing the OP wants is to capture debuggee output and remote, while capable of moving console I/O around, doesn’t really do what they want here I think. Remote on cdb moves debugger+debuggee output to a remote machine and the OP could redirect that to a file, but then they would lose their debugger command output (bad).
The closest I can think of is using tee with cdb. This will mix debugger and debuggee output, but it will at least get captured somewhere + also displayed inline with an stdin prompt so that the debugger itself can be controlled.
I will look around and see if there is some poorly known builtin debugger support for redirecting console I/O of a child proc to a file as that would of course be the ideal case.
Hmm… actually, I wonder if you might be able to use ntsd/WinDbg + remote to launch the console app + .childdbg 1 so the app remote launches gets debugged + another remote that receives the console I/O and dumps it to a file. Giant hack, but also perhaps worth trying in a pinch.
- S
-----Original Message-----
From: Martin O’Brien
Sent: Thursday, January 22, 2009 12:26
To: Kernel Debugging Interest List
Subject: Re:[windbg] start windbg with target outuput redirection
Do you happen to know if remote would work, Ken? As I said, I have no
idea, so I’m just curious for future reference, and I figured the odds
are pretty good that you know the answer.
Thanks,
mm
Skywing wrote:
> Using cdb and redirecting its stdout/stderr to tee (from any port of useful unix utils to Win32), also outputting to a log file as well as the console might be worth a shot.
>
> - S
>
> -----Original Message-----
> From: Martin O’Brien
> Sent: Thursday, January 22, 2009 11:31
> To: Kernel Debugging Interest List
> Subject: Re:[windbg] start windbg with target outuput redirection
>
>
> Just throwing this out there - what about remote?
>
> I’ve never used it, nor do I really know what it does, but I think does
> some form of redirection of STDIN & STDOUT, though it’s not windbg
> compatible.
>
>
>
> mm
>
>
>
> Tim Roberts wrote:
>> xxxxx@tektronix.com wrote:
>>> Does anyone know a way to debug a UM .exe and redirect the apps out put to something?
>>> I.e.:
>>>
>>> myapp.exe > c:\log.txt
>>>
>>> obviously windbg myapp.exe > log.txt doesn’t work,
>>>
>>> I also tried
>>> windbg “myapp.exe > log.txt”
>>> or
>>> windbg “myapp.exe” “>log.txt”
>>> …
>>> etc.
>>>
>>> I seem to be missing something basic.
>>>
>> I’m not aware of any way to make this happen. Is this an app you own?
>> If you can put in a pause, you could start the app by itself, then use
>> WinDbg to attach to it.
>>
>
> —
> You are currently subscribed to windbg as: xxxxx@valhallalegends.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
—
You are currently subscribed to windbg as: xxxxx@valhallalegends.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to windbg as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com