Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Basic WinDbg question

569 views
Skip to first unread message

karthik.moc

unread,
Sep 24, 2009, 5:00:16 AM9/24/09
to
Hi,

I am a novice windbg user. When I try to list the processes via the
extension command,

!process 0 0, I am getting a display of "No Export process" found.
Could you please explain me what is "Export Process" and why am I
getting this error on my system?

Thanks & Regards,
Karthikeyan S.

Ivan Brugiolo [MSFT]

unread,
Sep 24, 2009, 5:41:02 AM9/24/09
to
debugger.chm explains the applicability limits of that extensions
<quote>
This extension can be used only during kernel-mode debugging
</quote>
Are you using it in a kernel-debugger session ?

If NOT, then, `.tlist` is your friend.

The debugger complains `no export` named `process` found,
because most of the debugger extension commands are implemented
as exported functions from the related dll.

For example:
C:\debuggers\winxp>link -dump -exports kdexts.dll | findstr /i process
191 BE 001476F0 process

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"karthik.moc" <karth...@gmail.com> wrote in message
news:01366ba2-0352-482d...@d15g2000prc.googlegroups.com...

karthik.moc

unread,
Sep 24, 2009, 6:14:43 AM9/24/09
to
On Sep 24, 2:41 pm, "Ivan Brugiolo [MSFT]"

<ivanb...@online.microsoft.com> wrote:
> debugger.chm explains the applicability limits of that extensions
> <quote>
> This extension can be used only during kernel-mode debugging
> </quote>
> Are you using it in a kernel-debugger session ?
>
> If NOT, then, `.tlist` is your friend.
>
> The debugger complains `no export` named `process` found,
> because most of the debugger extension commands are implemented
> as exported functions from the related dll.
>
> For example:
> C:\debuggers\winxp>link -dump -exports kdexts.dll | findstr /i process
>         191   BE 001476F0 process
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
> Use of any included script samples are subject to the terms specified athttp://www.microsoft.com/info/cpyright.htm
>
> "karthik.moc" <karthik....@gmail.com> wrote in message

>
> news:01366ba2-0352-482d...@d15g2000prc.googlegroups.com...
>
>
>
> > Hi,
>
> > I am a novice windbg user. When I try to list the processes via the
> > extension command,
>
> > !process 0 0, I am getting a display of "No Export process" found.
> > Could you please explain me what is "Export Process" and why am I
> > getting this error on my system?
>
> > Thanks & Regards,
> > Karthikeyan S.

Hi Ivan,

Thanks a lot for your immediate response. This really encourages me to
learn things further.

As per my current understanding I can't use extension commands
exported by kdexts.dll as it is solely for "kd". So, It means I could
use only functions exported by "exts.dll" in windbg.

Thanks & Regards,
Karthik.

Ivan Brugiolo [MSFT]

unread,
Sep 24, 2009, 12:36:58 PM9/24/09
to
>As per my current understanding I can't use extension commands
>exported by kdexts.dll as it is solely for "kd". So, It means I could
>use only functions exported by "exts.dll" in windbg.

Technically not true for all the commands and for all the debugger-extension
DLLs
Each command has an applicable environment (user-mode, kernel-mode,
user-mode-dump, kernel-mode-dump, etc, etc) that is listed
in the documentation of the command.
There are kernel-mode only commands that implemented in other DLLs,
and the other way around.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"karthik.moc" <karth...@gmail.com> wrote in message

news:e3fdfec2-2b63-4abb...@d15g2000prc.googlegroups.com...

0 new messages