Author Topic: Where is the debugger?  (Read 5141 times)

Offline Acs

  • Single posting newcomer
  • *
  • Posts: 6
Where is the debugger?
« on: November 18, 2008, 08:36:36 pm »
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?

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Where is the debugger?
« Reply #1 on: November 18, 2008, 09:55:54 pm »
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.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline Acs

  • Single posting newcomer
  • *
  • Posts: 6
Re: Where is the debugger?
« Reply #2 on: November 18, 2008, 10:09:56 pm »
Indeed I meant gdb. As I said I downloaded MinGW but there is no gdb

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Where is the debugger?
« Reply #3 on: November 19, 2008, 01:53:48 am »
..., or you may need to download it from the MinGW download page on SourceForge.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Where is the debugger?
« Reply #4 on: November 24, 2008, 03:56:14 am »
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

  • Guest
Re: Where is the debugger?
« Reply #5 on: November 26, 2008, 05:55:49 pm »
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.