User forums > Using Code::Blocks

Can't Get Debugger to Work

<< < (2/3) > >>

blauzahn:
Please try to start the debugger directly from the commandline.

Wkerry:
Watch as JoeH is mixing compilers and debuggers as:

1) Path has C:\Program Files\CodeBlocks\MinGW\bin
2) Command line has C:\TDM-GCC-64\bin\gdb64.exe

I wonder if the MinGW compiler is 32 bit and the debugger is 64bit.

cdavalillo:
Working on Linux I experience crashes too. Basically when I going to see variables content on the Watches window (or control widgets) the application (Code::Blocks) simply freeze until it close completely. I thought it was a memory issue but after check twice I have enough free memory (32 GB). I know it has to do with the memory used for debugging because in small blocks of code never happens this, while in blocks of code with many variables it always crashes.

Pecan:

--- Quote from: cdavalillo on February 18, 2026, 12:43:45 am ---Working on Linux I experience crashes too. Basically when I going to see variables content on the Watches window (or control widgets) the application (Code::Blocks) simply freeze until it close completely. I thought it was a memory issue but after check twice I have enough free memory (32 GB). I know it has to do with the memory used for debugging because in small blocks of code never happens this, while in blocks of code with many variables it always crashes.

--- End quote ---

What version of CB are you using?
What are your settings for the debugger @ Settings>Debugger... ?
How many variables do I have to have to re-create the error?

cdavalillo:
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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version