Author Topic: Debugger (gdb) no longer stops at breakpoints or ends  (Read 16628 times)

Offline nore

  • Multiple posting newcomer
  • *
  • Posts: 30
Debugger (gdb) no longer stops at breakpoints or ends
« on: October 17, 2025, 02:49:32 pm »
Hi all,

Yesterday I got into a debugging session while watching some values regarding user input. Suddenly the debugger stopped working (breakpoints were ignored and the red "Stop debugger" x button no longer worked, only reporting a "Trying to interrupt process with pid..." message in the debugger log with no successful interrupt) and I was forced to end my session. I don't recall this happening often before, the issue only presenting itself once in past months. Thinking it might be some issue above me I went ahead and updated gcc/gdb using the mirrors on winlibs but I still have found no success in getting the debugger to work again. I haven't any idea how I fixed this before either. Does anyone have some experience with this issue or perhaps some insight into what might be the cause for it presenting itself?

-nore

Offline nore

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: Debugger (gdb) no longer stops at breakpoints or ends
« Reply #1 on: October 20, 2025, 05:37:24 am »
The issue was solved by making sure the mingw architecture matched that of the installed IDE's architecture. (32 bit mingw32 and 32 bit CB ).

Offline flutherdisaster

  • Single posting newcomer
  • *
  • Posts: 1
    • fnaf 2
Re: Debugger (gdb) no longer stops at breakpoints or ends
« Reply #2 on: Today at 04:19:36 am »
Verifying that the Mingw architecture matched the architecture of the installed IDE resolved the problem. (32-bit CB and 32-bit Mingw32).

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6168
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Debugger (gdb) no longer stops at breakpoints or ends
« Reply #3 on: Today at 07:18:46 am »
Verifying that the Mingw architecture matched the architecture of the installed IDE resolved the problem. (32-bit CB and 32-bit Mingw32).
spam reported.
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.