Skip to main content



      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 05:04 Go to next message
Eclipse UserFriend
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 05:12 Go to previous message
Eclipse UserFriend
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:BOP Define descovery gives empty values
Goto Forum:
  


Current Time: Sat Jul 05 05:04:23 EDT 2025

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

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

Back to the top