hello everybody
i'm having some strange behaviour when trying to watch some specific variables in codeblocks and GDB in Linux
to be honest, i didn't even knew in which forum post this
I have this code in C++ and SFML (a lib):
#include <SFML/Graphics.hpp>
int main(){
int a = 0;
sf::VertexArray v(sf::Quads, 88);
int b = 0;
return 0;
}
this runs fine and I can debug it and watch variables. BUT if I change the VertexArray to 89, when I start the debugger and try to open the watches window, the whole system freezes. not even the mouse or keyboard respond, and I have to hard reset. if I dont open the watches window, it runs ok.
this is what VertexArray looks like (its simple, actually):
https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1VertexArray.phpOS: Linux Debian 64 Testing with Cinnamon
C::B is
Name : Code::Blocks
Version : 20.03-r11997
SDK Version : 2.0.0
Scintilla Version: 3.7.5
gcc (Debian 9.3.0-15) 9.3.0
GNU gdb (Debian 9.2-1) 9.2
i tried rebuilding the whole project, doing make/install to the SFML files again, updating the system, reinstalling code::blocks and GDB, but the problem persists. if idebug it in command line, nothing seems to freeze and I can close the application.
any help ins this case is appreciated. thanks in advance