Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Variable details display

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



Back to the top