This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
std::string is pretty printed in tooltip: *&str="'\\\\t' = $TAB " (well, there are 4 backslashes that drive me crazy... but this is the subject of a separate bug) But in variables view I see @0x7fffffffd670: {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x153d3a8 "'\\\\t' = $TAB "}} for the same variable. I think these two outputs should be unified. I expect that variables view should show it pretty-printed as well.
This is very inconvenient, because, although in theory variables view contains string data too (at the end of its output), it is not visible in the column at all! (unless I expand my Variables view to the entire Netbeans window)
I want to add this bug describes case if real GDB Pretty-Printers are switched off. If we speak about developer-friendly Oracle Linux or Fedora Linux, GDB console commands doesn't return "{static npos = ..., _M_dataplus = ...}". Therefore IDE can't display such strange values.
Created attachment 158563 [details] Real users see such values (String and Hash)