how to break using "sx e ld" at 2nd and 3rd opeation

Hello

Now I want to debug one problem using cdb (or something debugger).
This problem is that I can’t save MS-Word document file in rdp/ica
session when I save MS-Word documents for several times.

I attached cdb to winword.exe, and typed “sx e ld” to break when ca lling
each loaded modules. At fist time, I can break when calling each loaded
modules (winmm.dll, or something…). But this problem is not
caused at first time operation (save file). I need to try this operatio n
for several times to repro. At 2nd or 3rd time, I cannot break as I
expect… I want to unload eac h modules called at the 1st time, but I can
not find this command…

How do I debug such problem? I want to catch a function which caus es this
problem… But I can’t now…

Thanks
Kimi

You can’t unload the modules, only the process you are debugging has
control over that.

What you will have to do is to trace through the instructions during a
save and set a breakpoint at a location. Then the breakpoint will be
hit everytime you hit save.

It isn’t really clear at what point the failure is occuring, but as a
first guess I would suggest setting the breakpoint on
“kernel32!CreateFileW” since Word would probably start the save
operation by getting a handle to the file it will be writing to…

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]

Sent: Thursday, March 07, 2002 3:23 PM
To: Kernel Debugging Interest List
Subject: [windbg] how to break using “sx e ld” at 2nd and 3rd opeation

Hello

Now I want to debug one problem using cdb (or something debugger).
This problem is that I can’t save MS-Word document file in rdp/ica
session when I save MS-Word documents for several times.

I attached cdb to winword.exe, and typed “sx e ld” to break when ca
lling each loaded modules. At fist time, I can break when calling each
loaded modules (winmm.dll, or something…). But this problem is not
caused at first time operation (save file). I need to try this operatio
n for several times to repro. At 2nd or 3rd time, I cannot break as I
expect… I want to unload eac h modules called at the 1st time, but I
can not find this command…

How do I debug such problem? I want to catch a function which caus es
this problem… But I can’t now…

Thanks
Kimi


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%