how to write an extension that show a window?

I can write a simple extension that can output string in windbg command window.But I want create a window (if this is a docking window like WinDBG is great) to be inserted to WinDBG main frame window.How to do it?

Thanks.

wrote in message news:xxxxx@windbg…
> I can write a simple extension that can output string in windbg command
> window.But I want create a window (if this is a docking window like
> WinDBG is great) to be inserted to WinDBG main frame window.How to do it?
>

You can open a new "command browser " window (ctrl/N) and run your extension
command there.

–pa

yes,it can print some formated message in command browser window,but i want show my data in a list box window,or other various special window,the command browser window can not show as my way.

> yes,it can print some formated message in command browser window,but i want show my data in a list box window,or other various special window,the command browser window can not show as my way.

You can use pykd: Python integration into WinDbg. Latest release:
http://pykd.codeplex.com/releases/view/61939

GUI-window can be displayed using Qt. Example of using PySide:
http://translate.google.com/translate?hl=ru&sl=auto&tl=en&u=http%3A%2F%2Fpykd.blogspot.com%2F2011%2F03%2Fpysidepykd-qt-windbg.html

P.S. copy script from original page - translator remove space padding

* P.S. original page of example - http://pykd.blogspot.com/2011/03/pysidepykd-qt-windbg.html

wrote in message news:xxxxx@windbg…
>> yes,it can print some formated message in command browser window,but i
>> want show my data in a list box window,or other various special
>> window,the command browser window can not show as my way.
>
> You can use pykd: Python integration into WinDbg. Latest release:
> http://pykd.codeplex.com/releases/view/61939
>
> GUI-window can be displayed using Qt. Example of using PySide:
> http://translate.google.com/translate?hl=ru&sl=auto&tl=en&u=http%3A%2F%2Fpykd.blogspot.com%2F2011%2F03%2Fpysidepykd-qt-windbg.html
>
> P.S. copy script from original page - translator remove space padding
>

Very interesting, spasibo :slight_smile:

But that thing creates it’s own GUI window (QT based), it does not use the
windbg UI, correct?
While this window is open, windbg cannot accept new commands.

If the OP wants to stay with the windbg window: use a command browser and
DML to show clickable items.

–pa

> Very interesting, spasibo :slight_smile:

Pozhalujsta :slight_smile:

But that thing creates it’s own GUI window (QT based), it does not use the windbg UI, correct?
While this window is open, windbg cannot accept new commands.

Now it is true. Multithreading (not only for GUI) is experimental feature, not for nearest public release

thank all, I think DML is maybe a good way for me.thank wingdb, it is so great.