[Qt-creator] Overriding dumper.py

paulo paulo.jnkml at gmail.com
Wed Feb 24 17:43:19 CET 2010


Ok that wont be necessary any more.

Sorry for taking so long (about 4 hours for 10 lines of code errrm), but 
I had to learn python.
Here's my first patch submission. (to whom it may concern lol)
It's just a hack to remove the (des)ordering introduced by the hash in 
dumpers.py.

Not much, but it works for me.

Of course after this crash course on python I can say that I feel like 
the python inventor should be castrated (and that's me being nice; dam 
this XXXX doesn't even support tabs).
I'm sure that guy will burn in hell for making me(us) suffer with the 
most idiotic scoping idea in the world.

well cheers,
Paulo



André Pönitz wrote:
> On Wednesday 24 February 2010 13:36:50 ext paulo wrote:
>> Hi,
>> I was thinking of doing some changes to 
>> /usr/share/qtcreator/gdbmacros/dumper.py
>>
>> and before looking into qt-creator source I thought asking would be 
>> faster, can I override the original dumper.py if I put a copy somewhere 
>> in my ~?
> 
> That's not supported. But you can add a line loading your 
> personal dumpers in ~/.gdbinit.
> 
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nested_anon_union.patch
Url: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100225/bed975b4/attachment.pl 


More information about the Qt-creator-old mailing list