RE: how to break using "sx e ld" at 2nd and 3rd opea tion

Thank you very much, Nathan.

— 2 more questions. ----

  1. When MS-Word call kennel mode driver’s function, Can cdb or ntsd break
    this? Or Must I use kd or windbg via NULL modem?
  2. When I want to get MS-Word’s symbols, Can MS provide me this?

Thanks,
Kimi

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, March 08, 2002 3:28 PM
To: Kernel Debugging Interest List
Subject: [windbg] RE: how to break using “sx e ld” at 2nd and 3rd opeation

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%%


You are currently subscribed to windbg as: xxxxx@citrix.co.jp To
unsubscribe send a blank email to %%email.unsub%%