News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Where is the debugger?

Started by Acs, November 18, 2008, 08:36:36 PM

Previous topic - Next topic

Acs

Where is gdc? I installed MingGW but I can't find gdc. I tried downloading but all I could find were version for linux.
Can anyone please help me out here? Where can I download a windows version?

TDragon

The debugger you want for MinGW is "gdb", not "gdc". Depending on how you installed MinGW, it may already be there (in the "bin" directory), or you may need to download it from the MinGW download page on SourceForge.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Acs

Indeed I meant gdb. As I said I downloaded MinGW but there is no gdb

TDragon

Quote from: TDragon on November 18, 2008, 09:55:54 PM
..., or you may need to download it from the MinGW download page on SourceForge.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

ollydbg

You can install the full version of Codeblocks with mingw. After installing, all is ready for you.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Cattivo

If you, as you say, installed the codeblocks-8.02mingw-setup.exe which is for windows, the debugger is already installed and ready to be used. Keep in mind though that the debugger, so far, only works with projects. A choice of yours for "an empty file" will result in a grayed out debbuger menu.