Question: Is it possible that windbg interfere (with byte allocating?) and cause crashing only in debug mode? If so, how?
This question is not specific to any library or opengl, they are specified just for the sake of a solid example.
Example
After a whole day, I can finally narrow down cause of a hilarious strange bug.
Here are my test cases :-
Debug mode & windbg.exe -> crash (GL_OUT_OF_MEMORY_ERROR)
Release mode & windbg.exe -> ok
Debug mode & not use windbg.exe -> ok
Release mode & not use windbg.exe -> ok
Note that "windbg" is enabled only for page heap corruption detection.
Clue: The error occured when I allocate/use byte buffers.
I am not so sure because it was done by an external library (Ogre3D).