WinDBG, doesn't support kernel debugging?

Discussion in 'Windows Vista Drivers' started by Harry Potter, Sep 26, 2004.

  1. Harry Potter

    Harry Potter Guest

    Hi guys,
    I'm trying to debug the sample IM drivers Passthru from Microsoft
    samples.... I assume this is a kernel mode driver and therefore trying to
    use the kernel mode debugging of the windbg on same local machine... but I
    get the following error... what am I doing wrong???? Please note that I'm
    running on windows 2000....

    Microsoft (R) Windows Debugger Version 6.3.0017.0
    Copyright (c) Microsoft Corporation. All rights reserved.

    The system does not support local kernel debugging.
    Local kernel debugging requires Windows XP, Administrative
    privileges, and is not supported by WOW64.
    Debuggee initialization failed, HRESULT 0x80004001
    "Not implemented"

    doesn't this feature supported on win 2000 pro??? what should I do then???
    I have the administrative privilege on my own pc.
    thank you...
     
    Harry Potter, Sep 26, 2004
    #1
    1. Advertisements

  2. Harry Potter

    Guest Guest

    You should use a second computer to debug a remote machine via a COM port or
    1394 . The abilities of the local debugging are very limited anyway.
     
    Guest, Sep 26, 2004
    #2
    1. Advertisements

  3. Harry Potter

    Pat [MSFT] Guest

    The error message is stating that WinXP is the minimum for doing 'live'
    local kernel debugging, not that WinDBG can't do it. I doubt that 'live' is
    what you want to do anyway since it is fairly limited (e.g. you can't set a
    break point). You would get a much better learning experince debugging
    across 2 machines (so you can set break points, follow program flow, etc.).


    pat
     
    Pat [MSFT], Sep 27, 2004
    #3
  4. You can download from the SysInternals website (http://www.sysinternals.com)
    a tool, called LiveKd. This tool allows you to do local debugging on a W2K
    computer. However, note that you're actually working on a local dump at that
    moment, but it's a good solution to learn debugging with.
    As the others said already, you need 2 computers to do live kernel
    debugging. See the outstanding WinDbg doc for more information on this.

    H.
     
    Hans De Smaele, Sep 27, 2004
    #4
  5. Harry Potter

    Harry Potter Guest

    thank you all for your feedbacks

     
    Harry Potter, Sep 27, 2004
    #5
  6. Harry Potter

    Sivaller Guest

    Try program Dbgview in the site sysinternal
     
    Sivaller, Sep 29, 2004
    #6
  7. Harry Potter

    Harry Potter Guest

    OOOOK... I see...
    thank you both.

     
    Harry Potter, Sep 30, 2004
    #7
  8. Harry Potter

    Vipin Guest

    what I don't understand is why microsoft can't come up with something like
    softice? Softice is damn costly for developers to purchase.And once we are
    done with the development at office or on a particular project for which we
    have softice license, we can't use for any other purpose.I used to work on
    project for which they had softice license,but once I moved out of the
    project, I can't use softice. Why doesn't MS come with a free debugger of
    the same style?
     
    Vipin, Oct 1, 2004
    #8
  9. They have ... it's called WinDbg.
     
    Gary G. Little, Oct 1, 2004
    #9
  10. Harry Potter

    Pavel A. Guest

    Is Softice really licensed per project? Haven't heard of this.

    --PA
     
    Pavel A., Oct 2, 2004
    #10
  11. Harry Potter

    Harry Potter Guest

    reading and working more with windbg... it does seems to be a powerful
    tools... the problem though is its help file.... its help file is useful
    when you know what you're looking for but if you just want to start with
    it...aaaahhhh.... and you have to rely on internet search and asking for
    help through news groups... as I've been doing...

    cheers
     
    Harry Potter, Oct 2, 2004
    #11
  12. project, I can't use softice. Why doesn't MS come with a free debugger of
    The only advantage of SoftICE is being single-machine, and the second machine
    is cheaper then SoftICE.
     
    Maxim S. Shatskih, Oct 2, 2004
    #12
  13. Softice license is per machine not per project for sure
    Arkady
     
    Arkady Frenkel, Oct 2, 2004
    #13
  14. That true , but being single-machine ( Visual-SoftIce is exactly the same as
    WinDbg - two machines debugger with gui on the master machine ), it gives
    great opportunity to debug in places where difficult to set two computers
    ( plane , train , bus ... :) )
    Arkady
     
    Arkady Frenkel, Oct 2, 2004
    #14
  15. Hi Arkady,
    Why not use VMWare or VirtualPC and WinDbg?


    --
    Greetings
    Jochen

    My blog about Win32 and .NET
    http://blog.kalmbachnet.de/
     
    Jochen Kalmbach, Oct 2, 2004
    #15
  16. Harry Potter

    Guillaume Guest

    That true , but being single-machine ( Visual-SoftIce is exactly the same as

    You mean debugging computers that are part of a plane, train or bus, or
    just doing your work on a laptop while traveling? In the latter case,
    please remind us not to buy your products... ;-)
     
    Guillaume, Oct 2, 2004
    #16
  17. That variant too , unless some cases , like debugging display drivers (
    SoftIse use dos box style window with it's own fonts making such debugging
    less problematic ) or debugging some latency problems
    Arkady
     
    Arkady Frenkel, Oct 2, 2004
    #17
  18. Guillaume , don't install any driver without WHQL signature and in this case
    such debugging will be the problem of mine and MSFT :) , OTOH I bought LG
    Flatron before few weeks and the driver have no WHQL cat at all
    Arkady
     
    Arkady Frenkel, Oct 2, 2004
    #18
  19. Harry Potter

    Vipin Guest

    But with windbg you can do kernel debugging on the same machine. That's what
    I meant
     
    Vipin, Oct 2, 2004
    #19
  20. But that on XP machines only
    Arkady

     
    Arkady Frenkel, Oct 2, 2004
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.