Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Variables Output
Variables Output [message #161009] Fri, 23 December 2005 23:51 Go to next message
Eclipse UserFriend
Could someone point me in the direction (packages or source files) for
modifying how the debugger output of local variables is displayed.
Pointers to documentation on the architecture or anything is also welcome.
I appreciate any help, thank you.
Re: Variables Output [message #161025 is a reply to message #161009] Sat, 24 December 2005 12:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

See the CDebugModelPresentation class.

"Scott Woolcox" <scott_woolcox@hotmail.com> wrote in message
news:5fccd7efbd381d80b80e0f36388f5d91$1@www.eclipse.org...
> Could someone point me in the direction (packages or source files) for
> modifying how the debugger output of local variables is displayed.
> Pointers to documentation on the architecture or anything is also welcome.
> I appreciate any help, thank you.
>
Re: Variables Output (Unicode from GDB) [message #161570 is a reply to message #161025] Tue, 10 January 2006 12:19 Go to previous messageGo to next message
Eclipse UserFriend
I modified

cdt.debug.core:

cdt.debug.internal.core.model.AbstractCValue.java
- added public abstract ICDIValue getUnderlyingValue();

cdt.debug.internal.core.model.IndexedValue.java
- added implementation for getUnderlyingValue();




cdt.debug.ui:
cdt.debug.internal.ui.CValueDetailProvider.java
- added check for debugger printable data, and if not supported it
calls CDebugUIUtils.getValueString

cdt.debug.internal.ui.CDebugUIUtils.java
- added support routines for testing print support for wchar_t* and
wchar_t[], as well as a routine to call GDB to evaluate x/32ch command and
allow me to format the output.


I would love to see something like this make it back into CDT so that I
dont have problems updating when the next version comes out.
Re: Variables Output (Unicode from GDB) [message #161585 is a reply to message #161570] Tue, 10 January 2006 14:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Submit a patch in bugzilla. The bug for it has been submitted long time
ago - https://bugs.eclipse.org/bugs/show_bug.cgi?id=42679.

"Scott" <scott_woolcox@hotmail.com> wrote in message
news:9b40a5a07b7e7ce468fdf0c37b7f43eb$1@www.eclipse.org...
>I modified
> cdt.debug.core:
>
> cdt.debug.internal.core.model.AbstractCValue.java - added public abstract
> ICDIValue getUnderlyingValue();
>
> cdt.debug.internal.core.model.IndexedValue.java
> - added implementation for getUnderlyingValue();
>
>
>
>
> cdt.debug.ui:
> cdt.debug.internal.ui.CValueDetailProvider.java
> - added check for debugger printable data, and if not supported it
> calls CDebugUIUtils.getValueString
>
> cdt.debug.internal.ui.CDebugUIUtils.java
> - added support routines for testing print support for wchar_t* and
> wchar_t[], as well as a routine to call GDB to evaluate x/32ch command and
> allow me to format the output.
>
>
> I would love to see something like this make it back into CDT so that I
> dont have problems updating when the next version comes out.
>
Re: Variables Output (Unicode from GDB) [message #161742 is a reply to message #161585] Thu, 12 January 2006 16:42 Go to previous message
Eclipse UserFriend
When I debug the plugin as an eclipse app, it works well. But, if I export
the plugin, and install it on my home machine, I get a ClassNotFound
exception

caused by: java.lang.NoClassDefFoundError:
org/eclipse/cdt/debug/mi/core/MIException
at
org.eclipse.cdt.debug.internal.ui.CValueDetailProvider.compu teDetail(CValueDetailProvider.java:36)

I checked the plugin.xml, and it is in the requires section, so I am not
sure what is going on. Also from the plugin.xml editor, if you "Test this
plugin" it works fine. Any ideas what may be going on? Thank you.
Previous Topic:jni.h can't be found
Next Topic:Start-up problem with gdb
Goto Forum:
  


Current Time: Mon May 12 17:06:10 EDT 2025

Powered by FUDForum. Page generated in 0.04140 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top