Skip to main content

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: 17
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 :


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

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:BOP Define descovery gives empty values
Goto Forum:

Current Time: Wed Jan 26 00:24:38 GMT 2022

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

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

Back to the top