Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Debug output markup

Jamey_KirbyJamey_Kirby Member - All Emails Posts: 436

It's probably about time to consider using a markup language like HTML in WinDbg output. I use the kernel debugger mostly for instrumentation, and it would be cool if there was an instrumentation mode where marked up output would be displayed in a new type of WinDbg output window; separate from the normal output window.

Comments

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,035
    via Email
    Jamey_Kirby wrote:
    > It's probably about time to consider using a markup language like HTML in WinDbg output. I use the kernel debugger mostly for instrumentation, and it would be cool if there was an instrumentation mode where marked up output would be displayed in a new type of WinDbg output window; separate from the normal output window.

    Show me an example of a what it would look like if you had your wish,
    because I can't visualize it.  WinDbg already supports a limited amount
    markup; that's how you can put clickable links into your debug output to
    suggest followup commands.

    In my mind, however, I cannot imagine wasting time trying to embed red,
    flashing, bold text, paragraph alignment markers, and spinning logo
    images into my debug output.  The goal, after all, is to debug code, not
    to produce quality desktop publishing.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • Jeffrey_Tippet_[MSFT]Jeffrey_Tippet_[MSFT] Member - All Emails Posts: 545

    windbg already supports DML, the "debugger markup language". But I guess you want something a lot richer than just making text bold and italic.

    !ndiskd.netreport is some effort in that direction, although it was a ton of work to put that together, and I doubt that most debugger extensions would go through the trouble. If you want to build a beautiful report using a language like HTML, then I suggest you just use HTML like ndiskd did.

    But instead of expecting each debugger extension to build a beautiful reporting GUI, the debugger team is trying to get extensions to expose their innards directly into the "debugger data model". This establishes a separation between data & view. Presumably, then, the next phase of their master plan is building rich and awesome views, once all this great data is available.

    But the conversion to "debugger data model" does seem to be going slowly, because spending time tinkering with a debugger extension is, realistically speaking, the last thing on everyone's todo list.

  • MajorTomMajorTom Member - All Emails Posts: 130
    I’m not sure if this is what you are looking for but there is the kd extension called blwdbgue which is quite nice. I hope it helps
    http://kdext.com/extensions/uienh_mchl.html
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA