[Crash-utility] Extension modules in C++

Alex Sidorenko alexandre.sidorenko at hp.com
Wed Aug 1 22:06:51 UTC 2012


On July 26, 2012 11:57:05 AM Petr Tesarik wrote:
> Hi all,
> 
> as part of SUSE HackWeek8, David started work on a GUI extension using Qt4, 
> which is a C++ project.

Hi all,

I have a working prototype (still in Alpha) of Python-Qt based GUI that works 
remotely using the following approach:

 - at server side, you load PyKdump and do 'epython server'
 - at your local PC, you run 'python guimain.py'

Communication is done using TCP and exchanging records with headers containing 
data length.

At this moment the project is in early stages (proof of concept) but already 
usable. Because PyQT is portable, the same sources work both on Linux and 
Windows clients.

I think that building GUI directly on top of crash is not the best approach - 
it is easier to add a small extension to crash and then communicate with it 
(if done locally, we could use shared memory or AF_UNIX sockets). 

A similar approach (driving GDB externally instead of linking with it) is 
already used in several GUI debuggers, e.g. 'ddd'.

Regards,
Alex

-- 
------------------------------------------------------------------
Alexandre Sidorenko             email: asid at hp.com
WTEC Linux			Hewlett-Packard (Canada)
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120801/9f5b8871/attachment.htm>


More information about the Crash-utility mailing list