[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[cdt-dev] Variable details display
|
- From: Oliver Buchtala <oliver.buchtala@xxxxxxxxxxxxxx>
- Date: Sun, 15 Jul 2012 16:41:59 +0200
- Delivered-to: cdt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=mJF0qKQceNN8/GONNX8mjkETWPlaxGU7dFpxdLm5JEY=; b=tT9tUbM0QhV83yav1lHWijppSxIeGkbcrv/Yh2lP10tvk9UIT4rDjQ6qYt3Ar7KAXc RsvQILit30xTbIgF4JKLXhXBKhGel/13DMw8633ye9/mbIjhYTx1/3gj5EQdmgymPJfL 4NxaDkn3YU2btv6lCKkocjoBi5eyjL+BcCii67FugN1HHgvWaKi8DqW1STTr+TEvWv9l IV4ztinMaoHQRJXlfFz/eePvaWkAzN/KcMPRB/8rZ/jnFA1aaXG0UQkABXkD5QGhIORV EA1QxYSYWBWEme299gyODUTXso9ZWN6gNPohju5n1R90AdsRI8uelzv1DkRkVMAWaqfX RATg==
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
Hi,
I have created gdb pretty-printers for my C++ types.
Now I find a variable's display panel displaying something like this:
Name : code
Details:"\nJSValueRef ${functionname}(JSContextRef context,
JSObjectRef function, JSObjectRef thisObject, size_t argc, const
JSValueRef argv[], JSValueRef* exception)\n{\n ${LOCALS}\n ${CODE}\n
return jsresult;\n"...
Default:"\nJSValueRef ${functionname}(JSContextRef context,
JSObjectRef function, JSObjectRef thisObject, size_t argc, const
JSValueRef argv[], JSValueRef* exception)\n{\n ${LOCALS}\n ${CODE}\n
return jsresult;\n"...
Decimal:"\nJSValueRef ${functionname}(JSContextRef context,
JSObjectRef function, JSObjectRef thisObject, size_t argc, const
JSValueRef argv[], JSValueRef* exception)\n{\n ${LOCALS}\n ${CODE}\n
return jsresult;\n"...
Hex:"\nJSValueRef ${functionname}(JSContextRef context, JSObjectRef
function, JSObjectRef thisObject, size_t argc, const JSValueRef argv[],
JSValueRef* exception)\n{\n ${LOCALS}\n ${CODE}\n return jsresult;\n"...
Binary:"\nJSValueRef ${functionname}(JSContextRef context,
JSObjectRef function, JSObjectRef thisObject, size_t argc, const
JSValueRef argv[], JSValueRef* exception)\n{\n ${LOCALS}\n ${CODE}\n
return jsresult;\n"...
Octal:"\nJSValueRef ${functionname}(JSContextRef context,
JSObjectRef function, JSObjectRef thisObject, size_t argc, const
JSValueRef argv[], JSValueRef* exception)\n{\n ${LOCALS}\n ${CODE}\n
return jsresult;\n"...
... which is not very useful for me.
Can I change this behaviour in this way:
- displaying only the content of Details (see above)
- interpreting "\n"
- not truncating
Regards,
Oliver