while debugging using windbg i have created a pipe in VMware and modified boot.ini for setting target os in VMware in debugging mode. now i created a .bat file containing
c:
cd C:\Program Files\Debugging Tools for Windows
windbg -b -k com:pipe,port=\.\pipe\com_1,resets=0
i executed this bat file in host os at the time of startup of target os in debug mode. but connection is not established and i m getting message like “waiting to reconnect”
so where i m getting wrong in establishing connection. please help me.Exactly at what time should i run this bat file.
thanking in advance…
I found that the connection is set up reliably if you start the debugger as
soon as the target “waits”, after the display of loaded modules.
So my personal perfect timing is: choose and start debug entry in ntldr
boot menu, then search and start my batch.
while debugging using windbg i have created a pipe in VMware and modified boot.ini for setting target os in VMware in debugging mode. now i created a .bat file containing c: cd C:\Program Files\Debugging Tools for Windows windbg -b -k com:pipe,port=\.\pipe\com_1,resets=0
i executed this bat file in host os at the time of startup of target os in debug mode. but connection is not established and i m getting message like “waiting to reconnect” so where i m getting wrong in establishing connection. please help me.Exactly at what time should i run this bat file. thanking in advance…
— NTFSD is sponsored by OSR
For our schedule debugging and file system seminars (including our new fs mini-filter seminar) visit: http://www.osr.com/seminars
wrote in message news:xxxxx@ntfsd… > while debugging using windbg i have created a pipe in VMware and modified > boot.ini for setting target os in VMware in debugging mode. now i created > a .bat file containing > c: > cd C:\Program Files\Debugging Tools for Windows > windbg -b -k com:pipe,port=\.\pipe\com_1,resets=0 > > i executed this bat file in host os at the time of startup of > target os in debug mode. but connection is not established and i m getting > message like “waiting to reconnect” > so where i m getting wrong in establishing connection. please help > me.Exactly at what time should i run this bat file. > thanking in advance… > >
@zezula…
i have made the serial port as given in the link http://silverstr.ufies.org/lotr0/windbg-vmware.html
its showing that pipe in VM option in VMware… that means pipe has been created…
but still its not connecting…
@Else Kluger
i have tried both the timings, means start first the debugger and then started the target os.
also the reverse way i have done. but both the ways are not giving me the required thing.
Try hitting control-break. On my setup, windbg won’t reconnect until I
do (though I will see DbgPrint() messages before I do that). Once I
break in and the symbols are loaded, I can work normally. Just booting
the target and having the host running doesn’t seem to be enough to make
the connection happen.
~Eric
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Friday, January 11, 2008 9:45 AM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] query about windows debugger
@zezula…
i have made the serial port as given in the link
@Else Kluger
i have tried both the timings, means start first the debugger and
then started the target os.
also the reverse way i have done. but both the ways are not
giving me the required thing.
NTFSD is sponsored by OSR
For our schedule debugging and file system seminars (including our new
fs mini-filter seminar) visit: http://www.osr.com/seminars