1

As the title says, I am looking for a:

  • Gratis
  • portable
  • GDB GUI
  • for Windows

I don't actually have a feature wish list; it's just that some of the junior engineers have only ever known GUI-based programs and are having difficulties coming to grips with GDB.

We are not allowed to install software, so it has to be portable. Something like KDbg would be perfect, but I can't find a portable Windows version.

BTw, it must be a Windows desktop program (.EXE, Java, Python, etc). We are not allowed to use gdbgui, the answer to this question, because it runs in the browser.

This related question has no answers yet (I am about to answer with KDbg, but that won't help me).

Any ideas? Google is not my friend today :-(

4
  • Not allowed to install software AND not allowed to run software in the browser?! Are you folks allowed to type with your hands, or do you have to poke at the keys with a pen you hold between your teeth?
    – John Y
    Jul 11, 2018 at 17:01
  • I guess you never worked a defence project? We just upgraded to Windows 7 last year. I could tell you more, but then I would have to ... Jul 12, 2018 at 6:21
  • Have you ever tried Qt Creator?
    – ssbssa
    May 19, 2021 at 18:10
  • I think that we would prefer a link to a website, so that we can see what we are downloading, not juts a link to *.7z file. Do you mean qt.io/product/development-tools ? Also, can you explain how that answers the question? May 20, 2021 at 6:55

2 Answers 2

1

VS Code has a portable mode. You just need to config the path to the GDB executable and install required extensions

See Windows debugging with GDB for more information

0

A gdb GUI is essentially just an IDE. There are many portable IDEs around there. One of them is the famous Code::Blocks which has nosetup/portable releases and even includes a GCC compiler inside in case you need

Debugging with Code::Blocks

Debugger:

  • Interfaces GNU GDB
  • Also supports MS CDB (not fully featured)
  • Full breakpoints support:
    • Code breakpoints
    • Data breakpoints (read, write and read/write)
    • Breakpoint conditions (break only when an expression is true)
    • Breakpoint ignore counts (break only after certain number of hits)
  • Display local function symbols and arguments
  • User-defined watches (support for watching user-defined types through scripting)
  • Call stack
  • Disassembly
  • Custom memory dump
  • Switch between threads
  • View CPU registers

Code::Blocks / Features

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.