Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debug strings without <repeats x times> ?(How to display in debug mode strings without <repeats x times> feature ?)
icon5.gif  Debug strings without <repeats x times> ? [message #898698] Fri, 27 July 2012 09:04 Go to next message
Laurent Alebarde is currently offline Laurent AlebardeFriend
Messages: 15
Registered: January 2012
Junior Member
Hi all,

In debug mode, where variables are displayed, a string may appear like this :

"__Ec___Ec", '_' <repeats 35 times>, "Ec__Ec_Ec", '_' <repeats 32 times>"

This is very smart in general, but in my application, it is a mask and I want it to be displayed without this synthetic way. Is it possible to suppress it and how please ?

So I could have :

"__Ec___Ec___________________________________Ec__Ec_Ec________________________________"

Re: Debug strings without <repeats x times> ? [message #1744352 is a reply to message #898698] Mon, 26 September 2016 09:12 Go to previous message
Almir Mehanovic is currently offline Almir MehanovicFriend
Messages: 1
Registered: September 2016
Junior Member
Hi,

To suppress <repeats x times> you have to configure gdb debugger. I couldn't find setting for that in Eclipse, but you can do it through console.

While debugging, in the upper right corner of the "Console" view find "Display Selected Console" icon. Click on the arrow next to it to open a list of consoles and select gdb console. Click inside the console to get the typing cursor blinking and type in "set print repeats unlimited". Hit Enter and you're done.
Previous Topic:So so lost with SDCC plugin
Next Topic:How to generate one output file including all include files and the source file
Goto Forum:
  


Current Time: Thu Dec 08 20:23:42 GMT 2016

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

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