Bug 280159 - Hovering in Debug shows incomplete information because of truncation to 100 chars.
Summary: Hovering in Debug shows incomplete information because of truncation to 100 c...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 5.0.2   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 21:00 EDT by Nadir CLA
Modified: 2020-09-04 15:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nadir CLA 2009-06-12 21:00:42 EDT
Build ID: M20090211-1700

Steps To Reproduce:
1. Just debug a program using stl and gdb.


More information:
eg. info in the Variables frame, it says; 

{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x91194d4 "mitchell"}}

in the hover, it is trucated to

{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_a ...

which hides the actual content of the variable.

This behavior can be fixed easily by modifying the constant "org/eclipse/cdt/debug/internal/ui/editors/DebugTextHover.java:MAX_HOVER_INFO_SIZE = 100" to some higher number (500 maybe). 

(Btw, it would be great if you could send me the fixed org.eclipse.cdt.debug.ui_5.0.1.200902130801.jar, I couldn't make it because of your signature).

Best Regards,

Nadir Akinci