Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: dcbdbis on July 27, 2019, 01:43:26 am

Title: [SOLVED] Debugging string contents truncated
Post by: dcbdbis on July 27, 2019, 01:43:26 am
Good evening all,

I am sure what I am asking is a setting somewhere - I just don't know where.

I am working with SQLite and my SQL query strings can get long - long enough the debugger isn't displaying the full contents of the string (wxString) when in the debugging mode. At the end of some of my more lengthy queries, the debugging and watch windows end the string with "...".

I need to be able to see the entire string to determine if I typo'd in the query string.

May I ask for where to adjust the length of displayed memory variables either in the watch window or directly on the IDE's screen?

Manjaro Linux. AMD Threadripper Gen I, 64Gb brains - and fully up to date.

The IDE works just fine - I just don't know where to go to tweak the length of displayed strings....

Thank you!


Dave
Title: Re: Debugging string contents truncated
Post by: stahta01 on July 27, 2019, 02:00:52 am
I am guessing the people who can answer the question will want CB version info and gdb version info.

Tim S.
Title: Re: Debugging string contents truncated
Post by: dcbdbis on July 27, 2019, 03:17:36 am
My apologies.

C::B 17:12 x64.

GNU GBD 8.3

GCC 9.1

Running on Manjaro w/XFCE 4.13
Title: Re: Debugging string contents truncated
Post by: oBFusCATed on July 27, 2019, 08:42:30 am
Debug -> Information -> Print elements -> Unlimited

But keep in mind that this will slow down the debugger in some cases.
Title: Re: Debugging string contents truncated
Post by: dcbdbis on July 27, 2019, 08:19:17 pm
Thank you kindly. Exactly what I was looking for. I was just looking in the wrong place.

Works just like I need it to..


Again, THANK YOU!


Dave