Author Topic: [SOLVED] Debugging string contents truncated  (Read 232 times)

Offline dcbdbis

  • Multiple posting newcomer
  • *
  • Posts: 19
[SOLVED] Debugging string contents truncated
« 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
« Last Edit: July 27, 2019, 08:19:29 pm by dcbdbis »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6589
    • My Best Post
Re: Debugging string contents truncated
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline dcbdbis

  • Multiple posting newcomer
  • *
  • Posts: 19
Re: Debugging string contents truncated
« Reply #2 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11899
    • Travis build status
Re: Debugging string contents truncated
« Reply #3 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline dcbdbis

  • Multiple posting newcomer
  • *
  • Posts: 19
Re: Debugging string contents truncated
« Reply #4 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