Changing the format of displayed value in debugger

Niko Sams niko.sams at
Tue Jul 20 05:45:21 UTC 2010

On Mon, Jul 19, 2010 at 21:43, Konstantin Karganov <karganov at> wrote:
>> - Variable::slotSetFormat() looks hackish - does that play well with
>> translations?
> yes, sorry, I didn't thought of that, object name is not meant to be
> localized while the action text is, I'll fix that.
don't use sender() at all in an public slot.
QSignalMapper might help you.

>> - not every debugger supports this feature, there must be a way to disable
>> or
>>  manually convert the values
> another debugger shall introduce it's own variable class with custom
> setFormat() implementation
> and, for additional control there can be something like virtual bool
> Variable::supportsSetFormat() to query when displaying the menu. Do you
> think this needs to be done?..
Yes, supportedFormats() would be even better.

>> and please push your changes to gitorious, that makes it much easier
>> for us to review.
>> (create a personal clone)
> I've just done as says to do :)
> I have cloned the git repo from gitorious, can I just push my commits up or
> I'll need to register on gitorious first?..
You need to register and create your own personal clone - where you
have permissions
to push. Then you can create a merge request.


More information about the KDevelop-devel mailing list