User forums > Using Code::Blocks
Can't Get Debugger to Work
Pecan:
--- Quote from: cdavalillo on February 19, 2026, 01:17:19 pm ---I'm on the 25.03 version, the number of variable I think is like 20 std::vectors, I don't use raw pointers so I know it is not wrong pointer arithmetics or overflow indices errors. The settings for debuggers are almost the default, I only check for full log on debugging.
--- End quote ---
It's important to know if you have the debugger "Watch local variables" set.
How big are your 20 std:vectors so I can emulate the problem.
Are the vectors global or local to a function?
cdavalillo:
If I don't set local variable I simply don't see local variables info not get the application crashed. Regarding the vectors length they are not big, each one have less than 1000 values each, and the elements that they contain are small structures of less than 500 B each one.
cdavalillo:
If I don't set local variable in Code::Blocks I should simply don't see local variables info not get the application crashed. Regarding the vectors length they are not big, each one have less than 1000 values each, and the elements that they contain are small structures of less than 500 B each one.
Pecan:
--- Quote from: cdavalillo on February 19, 2026, 09:34:55 pm ---If I don't set local variable I simply don't see local variables info not get the application crashed. Regarding the vectors length they are not big, each one have less than 1000 values each, and the elements that they contain are small structures of less than 500 B each one.
--- End quote ---
So, am I correct in understanding that the arrays are local variables to a function?
And that you do NOT get the crash when "Watch local variables set" to OFF.
This information can help me localize the code getting the crash.
Navigation
[0] Message Index
[*] Previous page
Go to full version