Using "WindDbg" Debugger Extensions with SoftIce

Hi!

Does anybody know if there is a way to use WinDbg
kernel debugger extension (My own ones or existing
ones) with Compuware’s SoftIce Kernel Debugger?


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Yes. There is a translator that processes them for use with SoftICE,
and Visual SoftICE can in theory use them correctly. I have never used
them with SoftICE, and I have had decidedly mixed results with Visual
SoftICE. They sometimes (pretty frequently, actually) just produce
output of any kind. I have no idea of why. For Visual SofICE, you just
set the path for extensions (SET KDEXTPATH) and then invoke commands as
!EXTENSION.COMMAND (i.e. - !kdxets.help).

Best of luck,

MM

>> xxxxx@yahoo.com 2005-12-16 15:08 >>>
Hi!

Does anybody know if there is a way to use WinDbg
kernel debugger extension (My own ones or existing
ones) with Compuware’s SoftIce Kernel Debugger?


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


You are currently subscribed to windbg as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi,

Thanks for the answer but my main focus is on SoftIce
(Not visual softice), I know that when you write “!”
on the command it tells you “debugger extension” but I
don’t know how to load such nor tell what is the path
and etc…

Alon

“Martin O’Brien” wrote in
message news:xxxxx@windbg…
> Yes. There is a translator that processes them for
use with SoftICE,
> and Visual SoftICE can in theory use them correctly.
I have never used
> them with SoftICE, and I have had decidedly mixed
results with Visual
> SoftICE. They sometimes (pretty frequently,
actually) just produce
> output of any kind. I have no idea of why. For
Visual SofICE, you just
> set the path for extensions (SET KDEXTPATH) and then
invoke commands as
> !EXTENSION.COMMAND (i.e. - !kdxets.help).
>
> Best of luck,
>
> MM
>
>
> >>> xxxxx@yahoo.com 2005-12-16 15:08 >>>
> Hi!
>
> Does anybody know if there is a way to use WinDbg
> kernel debugger extension (My own ones or existing
> ones) with Compuware’s SoftIce Kernel Debugger?
>
>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
protection around
> http://mail.yahoo.com
>
>
> —
> You are currently subscribed to windbg as:
xxxxx@evitechnology.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com
>
>


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

ALON:

  1. The first thing you do is run whatever extension you wish to use
    through the “KDExtension Converter” program (KD2SYS; an icon for it is
    created under the Compuware Start Menu Item. It converts the DLL to a
    driver.).

  2. Reboot the system (to load the KD extension that is now a driver

  3. If you start SoftICE manually:

  4. NET START SoftICE

  5. NET START

    4. Type !? for a list of comands.

    CAVEATS:

    This whole thing really doesn’t work all that well, in my opnion.
    These are the known limitations:

    1. You must have and up to date NTOSKRNL.NMS loaded. Extremely bad
    things will happen if you don’t.

    2. No file IO in the KDX. If a command uses file io/ it will fail,
    generally with no information at all. This makes a reasonably sized
    portion of the standard KDX’s (kdexts) not only useless, but all very
    confusing as you get no feedback. For example, you can not do things
    like .dump.

    3. Do not use exception handling in your KDX. They normally don’t
    anyway, as DbgEng wraps each call for you.

    Like most everything else about SoftICE, that this work at all is
    nothing short of remarkable. They’re converting a user-mode DLL to a
    system driver (without source), running it a ring 0 against a library
    (or emulation thereof) that was designed for remote debugging. That
    being said, it is also quite frightening and, doesn’t, in my experience,
    work reliably enough to replace WinDbg.

    If you have the option, I would strongly consider looking at Visual
    SoftICE or just using WinDbg. It is a much, much more stable
    arrangement, and uses the same engine as WinDbg, so KDX’s are usually a
    problem (although even here things get a little hinky). If you are
    interested, I can tell you how to set up your host and target so that
    you can simultaneously run both WinDbg and Visual SoftICE. This is what
    I do. It is actually amazingly easy and stable.

    MM

    >>> xxxxx@yahoo.com 2005-12-18 05:26 >>>
    Hi,

    Thanks for the answer but my main focus is on SoftIce
    (Not visual softice), I know that when you write “!”
    on the command it tells you “debugger extension” but I
    don’t know how to load such nor tell what is the path
    and etc…

    Alon

    “Martin O’Brien” wrote in
    message news:xxxxx@windbg…
    > Yes. There is a translator that processes them for
    use with SoftICE,
    > and Visual SoftICE can in theory use them correctly.
    I have never used
    > them with SoftICE, and I have had decidedly mixed
    results with Visual
    > SoftICE. They sometimes (pretty frequently,
    actually) just produce
    > output of any kind. I have no idea of why. For
    Visual SofICE, you just
    > set the path for extensions (SET KDEXTPATH) and then
    invoke commands as
    > !EXTENSION.COMMAND (i.e. - !kdxets.help).
    >
    > Best of luck,
    >
    > MM
    >
    >
    > >>> xxxxx@yahoo.com 2005-12-16 15:08 >>>
    > Hi!
    >
    > Does anybody know if there is a way to use WinDbg
    > kernel debugger extension (My own ones or existing
    > ones) with Compuware’s SoftIce Kernel Debugger?
    >
    >
    > Do You Yahoo!?
    > Tired of spam? Yahoo! Mail has the best spam
    protection around
    > http://mail.yahoo.com
    >
    >
    > —
    > You are currently subscribed to windbg as:
    xxxxx@evitechnology.com
    > To unsubscribe send a blank email to
    xxxxx@lists.osr.com
    >
    >


    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com


    You are currently subscribed to windbg as: xxxxx@evitechnology.com
    To unsubscribe send a blank email to xxxxx@lists.osr.com