User forums > Help
Cannot debug large arrays
salexandru:
Hi! I have a problem that bugged over the few monthss and I decided to share because this bug is not listed anywhere. When I try to enter large arrays in the watches I get in the value field "value requires 400012 bytes, which is more than max-value-size". What should I do, because this never occured to me until some time ago and I have a fresh installation of Ubuntu 16.04 LTS. As I said a little earlier, this bug is not documented anywhere. Please help me, this problem is frustrating.
stahta01:
Please read the rules http://forums.codeblocks.org/index.php/topic,9996.0.html
Then, try to post an clear Code::Blocks question. I decided your question is a clear C::B Question; but, it is not one I understand.
Tim S.
oBFusCATed:
--- Quote from: stahta01 on December 01, 2017, 06:18:50 pm ---I decided your question is a clear C::B Question; but, it is not one I understand.
--- End quote ---
Yes, it is valid question and the answer is below.
To enable unlimited arrays do Debug -> Information -> Print elements -> Unlimited. This is only available while the debugger is running.
salexandru:
Thanks for your help, but I cannot see the option. I tried with and without debugger active. Please tell me what I'm doing wrong. In the meanwhile, in the attachments there are some pictures of my debugger settings.
oBFusCATed:
Steps to enable the option:
1. Start debugger
2. Stop on a breakpoint
3. Debug -> Information -> Print elements -> Unlimited
Navigation
[0] Message Index
[#] Next page
Go to full version