User forums > Help
debug watches issue
olaf888:
Hi all
codeblocks crushes everytime I want to see a pointer pointing in an
forbidden area. VC 2008 debugger shows "<bad pointer>".
How can I fix this problem ?
Peter
oBFusCATed:
Can you reproduce this in a simple example program?
Can you post some version infos like cb version, compiler, debugger, os?
olaf888:
codeblocks 13.12 64 bit version
windows 7 pro
I must correct the "char *" pointer value does not point to an forbidden area
I tried to simulate the error in a smaller code example, but cb does not crush then.
It happens when I put extra value into watch window.
In the local watch there are no problems with this value.
oBFusCATed:
Does this happen with 16.01?
I'll need a way to reproduce this.
olaf888:
--- Quote from: oBFusCATed on February 20, 2016, 10:48:15 pm ---Does this happen with 16.01?
I'll need a way to reproduce this.
--- End quote ---
Yes, it does too !
I know what happens. The watch process shows the content as text until a zero stop it, but there is no zero ... never :D
and then it crushed. I put a zero in it and then no problem.
But I cant repeat this in the smaller example version. The watch process shows nothing and good no problem no crush.
Navigation
[0] Message Index
[#] Next page
Go to full version