User forums > Using Code::Blocks
Watching large buffers
O-san:
I am having difficulties on how to watch a large buffer of characters. Until now I have used the watch window and also tried the Examine memory window. The watch window can only display 200 entries then it stops. The examine memory window can only display 256 bytes which is also too small. Is there a way to watch large amounts of text from a variable that I have missed?
oBFusCATed:
Can you try the debuggers branch nightly?
Also if the debuggers branch nightly has the same problems, can you provide a test project, so we can reproduce them?
O-san:
Thanks for the reply. I will try it but I am unable to do so right now. I am currently running a nightly build svn 5911. Is it really necessary to provide a test project for this problem? I mean.. I am having the same issue in all my projects. How would I go about watching a buffer such as this one:
--- Code: --- char *buffer=0;
buffer = new char[10000];
for(int i=0;i<2000;i+=2){
buffer[i]='a';
buffer[i+1]='\n';
}
--- End code ---
oBFusCATed:
Your example works correctly with my version of debuggers branch CB...
O-san:
What method did you use to view the buffer?
Navigation
[0] Message Index
[#] Next page
Go to full version