Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Plugins development / Re: Debugger_gdbmi plugin
« Last post by MaxGaspa on April 28, 2026, 11:25:17 pm »
Yes, but I'm trying to determine if there is any interest in it.

As far as I'm concerned I'm very interested to try a modern GDB/MI instead of using the old annotation mechanism. CB seems to be the last IDE still using the annotation mechanism. CLion, CodeLite. KDevelop, Eclipse, QTcreator...are all using GDB/MI.
52
Help / Re: debugger_gdbmi
« Last post by Frank_CB on April 28, 2026, 07:45:40 pm »
@pecan:
Thanks for the explanation of how and where github clones a repository. I'm sure others may learn from it.
Regards.
53
Help / Re: DEBUGGER_GDBMI
« Last post by Pecan on April 28, 2026, 05:20:02 pm »
Where does github place the debugger_gdbmi folder ?

If you mean where does it place the folder when you clone the source, it places it in the currently active directory.
,
So if I "cd F:\proj", "mkdir myNewDir", "cd myNewDir", then  "git clone https://github.com/pecanh/debugger_gdbmi",
the directory myNewDir will contain a sub folder named debugger_gdbmi_main containing the source.

If you mean where does it place the debugger_gdbmi.zip when you download the zip file, it places it where your systems specifies the download directory to be. For me, it's c:\users\pecan\download.


54
Plugins development / Re: Debugger_gdbmi plugin
« Last post by Pecan on April 28, 2026, 05:06:31 pm »
wouldn't we add it to our normal source tree, as a contrib plug-in ?

Yes, but I'm trying to determine if there is any interest in it.
I've found that adding a plugin to the contribs and especially updating autoMake is very painful and error prone.
I'd rather avoid the pain if there's no interest.
55
General (but related to Code::Blocks) / Re: Thanks for a great IDE
« Last post by Miguel Gimenez on April 28, 2026, 09:11:38 am »
Delayed profile spammer reported to moderator.
56
Help / debugger_gdbmi
« Last post by Frank_CB on April 28, 2026, 09:03:47 am »
Where does github place the debugger_gdbmi folder ?
57
Plugins development / Re: Debugger_gdbmi plugin
« Last post by killerbot on April 28, 2026, 08:03:27 am »
wouldn't we add it to our normal source tree, as a contrib plug-in ?
58
Plugins development / Debugger_gdbmi plugin
« Last post by Pecan on April 27, 2026, 09:49:45 pm »
Installation Guide: Debugger GDB/MI Plugin
A CodeBlocks plugin using the machine interface of the GDB debugger.

Source is available at github Source

Preparation
  • Clone or download a zip
  • Cloning creates a folder named debugger_gdbmi
  • A zip file needs to be unzipped in a 'debugger_gdbmi' folder.


.cbp files included:
  • debugger_gdbmi_wx32_64WK - compiles to the currently active src\devel_32_64 folder.
  • debugger_gdbmi_wx32_64      - compiles to ..\..\..\devel32_64
            (use only when debugger_gdbmi resides within the contrib workspace.
  • debugger_gdbmi_wx32_64Nly - compiles to $(#cb)\devel32_64
            (CodeBlocks will ask you to define the global 'cb' macro to point to CodeBlocks source folder.
  • Note: The other .cbp(s) are defined as if debugger_gdbmi resides within the contrib workspace.
             Move debugger_gdbmi into that workspace or modify the .cbp(s)

Installation
  • Load and compile debugger_gdbmi with the desired .cbp
  • Close CodeBlocks and run src/update32_64
  • You should find debugger_gdbmi.dll in the src\output32_64\share\CodeBlocks\plugins folder
  • You should find debugger.gdbmi.zip in the src\output32_64\share\CodeBlocks folder

Configuration

     After installation, restart CodeBlocks and go to Settings->Debugger->GDB/MI default
  • Set the executable Path to your gdb.exe.
  • Verify the other options meet your requirements.
  • Click on the Ok button.

Usage
    Go to MainMenu->Debug->Active Debuggers and select GDB/MI default.


Report issues in the Help or Plugins Development forum thread with your Build log and OS.
59
Nightly builds / Re: The 09 April 2026 build (13831) is out.
« Last post by ollydbg on April 27, 2026, 03:48:21 am »

I used a prototype of Andrew Cott's which was based on the layout by Ofuscated.


OK.

I see one issue:

‎InstallDebuggerMI/InstallDebuggerMI.depend‎

I think this file should not be put in the code repo. Maybe we can put the code in our trunk.  ;)
60
Nightly builds / Re: The 09 April 2026 build (13831) is out.
« Last post by Pecan on April 27, 2026, 03:19:32 am »
Hi, Pecan, nice work. The MI protocol certainly has more advantages.

If I remember correctly, one of our developer OBF has wrote an GDB/MI plugin several years ago, but that plugin has never put in the trunk code. He said it was not full functional.

I looked at your code repo, and I'm not sure what is the relationship with OBF's version, thanks.

I used a prototype of Andrew Cott's which was based on the layout by Ofuscated.
Pages: 1 2 3 4 5 [6] 7 8 9 10